pujitha24 opened PR #14881 from pujitha24:auto/issue-14571 to bytecodealliance:main:
Discussed in issue #14571.
This forwards debug tags on a
try_callduring Cranelift lowering. Previously they were dropped becausetry_callgoes through the branch-lowering path, which only copied stack maps. With inlining this loses breakpoint patch records and frame-table entries for inlined callees.Validation: a new x64 filetest fails before and passes after; the Cranelift isa/runtests filetests and cranelift-codegen unit tests pass. I could not run
tests/all/debug.rslocally (wasm32-unknown-unknown target missing), so the Wasmtime-level behavior is untested here.Per the AI tool use policy: this change was prepared with AI assistance.
This PR was written in part with the assistance of generative AI.
Fixes #14571
pujitha24 removed the review request for wasmtime-compiler-reviewers from PR #14881.
pujitha24 requested fitzgen for a review on PR #14881.
pujitha24 requested wasmtime-compiler-reviewers for a review on PR #14881.
github-actions[bot] added the label cranelift on PR #14881.
github-actions[bot] added the label cranelift:area:machinst on PR #14881.
:thumbs_up: fitzgen submitted PR review:
Thanks
fitzgen added PR #14881 Cranelift: forward debug tags on try_call during lowering to the merge queue.
github-merge-queue[bot] removed PR #14881 Cranelift: forward debug tags on try_call during lowering from the merge queue.
alexcrichton added PR #14881 Cranelift: forward debug tags on try_call during lowering to the merge queue.
:check: alexcrichton merged PR #14881.
alexcrichton removed PR #14881 Cranelift: forward debug tags on try_call during lowering from the merge queue.
Last updated: Oct 31 2026 at 23:03 UTC