cfallin opened PR #12901 from cfallin:debugging-fixes to bytecodealliance:main:
Contains several fixes pulled out from #12859:
- Fix module-offset PC vs. component-offset PC discrepancy in metadata. All offsets used by debugging APIs are core module-relative (components "do not exist" when introspected by a debugger, only the flattened core modules).
- Add newtypes to disambiguate the two (based on review feedback in #12859).
- Give distinct names to each Wasm module when presented over the wire to a gdbstub-speaking debugger so they are not mistakenly dedup'd together.
cfallin requested fitzgen for a review on PR #12901.
cfallin requested wasmtime-compiler-reviewers for a review on PR #12901.
cfallin requested wasmtime-core-reviewers for a review on PR #12901.
cfallin updated PR #12901.
github-actions[bot] added the label wasmtime:api on PR #12901.
cfallin updated PR #12901.
alexcrichton submitted PR review.
alexcrichton added PR #12901 Several fixes to debugging infrastructure: component vs. module PCs and gdbstub wasm module names. to the merge queue
alexcrichton removed PR #12901 Several fixes to debugging infrastructure: component vs. module PCs and gdbstub wasm module names. from the merge queue
alexcrichton merged PR #12901.
Last updated: Apr 12 2026 at 23:10 UTC