HueCodes opened PR #13779 from HueCodes:hue-issue-7588-provenance to bytecodealliance:main:
Follows up #13772.
The relocation target helper should use
expose_provenance()instead ofaddr(), because the numeric relocation values can later be used by JITed code as pointers.This keeps the checked addend handling from #13772 while preserving exposed provenance for later pointer reconstruction.
Tested with
cargo test -p cranelift-jitandcargo clippy -p cranelift-jit --all-targets --all-features -- -D warnings.
HueCodes requested alexcrichton for a review on PR #13779.
HueCodes requested wasmtime-compiler-reviewers for a review on PR #13779.
:thumbs_up: alexcrichton submitted PR review.
alexcrichton added PR #13779 cranelift-jit: Preserve relocation target provenance to the merge queue.
:check: alexcrichton merged PR #13779.
alexcrichton removed PR #13779 cranelift-jit: Preserve relocation target provenance from the merge queue.
Last updated: Jul 29 2026 at 05:03 UTC