Currently we only support logging i32 return values (although the epilogue instrumentation code already allocates a local with the correct size). We should change this to handle all four wasm data types.
This will involve, at a minimum:
- Updating the JavaScript module to read and cast the buffer contents correctly
- Adding new tests for
i64, f32, f64
- Updating the
Entry struct to include a u64 field for data
Currently we only support logging
i32return values (although the epilogue instrumentation code already allocates a local with the correct size). We should change this to handle all four wasm data types.This will involve, at a minimum:
i64,f32,f64Entrystruct to include au64field for data