cfallin opened PR #14756 from cfallin:fix-debug-tag-location to bytecodealliance:main:
In the case where a branch-veneer/constant island was placed immediately after a call (or any other instruction), post-position debug tags on that call were emitted into MachBuffer metadata with the post-island offset rather than the end-of-instruction offset from just before the call.
This caused erroneous breakpoint behavior when tags were lost on patchable call sites used for breakpoints in guest-debugging. It showed up on riscv64 where shorter branch ranges caused more frequent island emission.
<!--
Please make sure you include the following information:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease review the Bytecode Alliance's AI tool usage policy at
https://github.com/bytecodealliance/governance/blob/main/AI_TOOL_POLICY.mdPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
cfallin requested alexcrichton for a review on PR #14756.
cfallin requested wasmtime-compiler-reviewers for a review on PR #14756.
:thumbs_up: alexcrichton submitted PR review.
cfallin has enabled auto merge for PR #14756.
cfallin added PR #14756 Cranelift: place post-instruction debug tags before islands. to the merge queue
:check: cfallin merged PR #14756.
cfallin removed PR #14756 Cranelift: place post-instruction debug tags before islands. from the merge queue
Last updated: Oct 31 2026 at 23:03 UTC