bytecodealliance / bytecodealliance/wasmtime
The DWARF expressions may contain incomplete information when memory is imported
Open
wasmtime:debugging
- Dominant language
- Rust
- Stars
- 18.6k
- Forks
- 1.8k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 126
Description
(Continuation of #894 )
The `ModuleVmctxInfo` contains information about how the actual memory offset/base can be calculated based on `VMContext` in the DWARF expressions. Currently, the implementation in wasmtime-debug is not complete and supports only defined memory.
The introduced by #894 `ModuleMemoryOffset::Imported` was temporary stubbed. It is expected to implement the logic in the crates/debug/src/transform/expression.rs .
Contributor guide
Assessment
This issue has not been assessed yet.