joshtriplett opened PR #10813 from joshtriplett:debugtrap to bytecodealliance:main:
Debuggers treat
brk #0xf000as a software breakpoint, so that they
know to skip over it when attempting to resume.Fixes: https://github.com/bytecodealliance/wasmtime/issues/9726
joshtriplett requested abrown for a review on PR #10813.
joshtriplett requested wasmtime-compiler-reviewers for a review on PR #10813.
joshtriplett commented on PR #10813:
Note that I intentionally did not try to make the
brkhelper in isle accept a parameter here, because it is exclusively used to implementdebugtrap.
bjorn3 commented on PR #10813:
https://github.com/bytecodealliance/wasmtime/blob/e82e178670945eb39ab337d2ec32acbdbb42eccf/cranelift/codegen/src/isa/aarch64/inst/emit.rs#L3122 needs to be updated too I think.
joshtriplett commented on PR #10813:
@bjorn3 Good catch, not sure how I missed that.
I just realized that I should have been running
cargo test --allrather thancargo test.Fixing.
joshtriplett edited a comment on PR #10813:
@bjorn3 Good catch, not sure how I missed that.
I just realized that I should have been enabling features when running
cargo test.Fixing.
joshtriplett updated PR #10813.
alexcrichton submitted PR review:
Thanks!
alexcrichton merged PR #10813.
Last updated: Dec 06 2025 at 06:05 UTC