alexcrichton requested fitzgen for a review on PR #9740.
alexcrichton opened PR #9740 from alexcrichton:pulley-traps-and-clif
to bytecodealliance:main
:
This commit updates how the
signals_based_traps
setting is read for
various instruction generation during the wasm-to-CLIF translation
phase. Specifically this splits thesignals_based_traps
configuration
into one for "general CLIF instructions can trap" and another for
"memory traps are allowed". These settings are based on
signals_based_traps
but then differ for Pulley. For example Pulley
allows general instructions to trap since that just halts the
interpreter, but memory-related instructions can't trap since segfaults
aren't caught during the execution of Pulley. These settings then take
Pulley into account to assist in translating Pulley compatibly by
default.
alexcrichton requested wasmtime-core-reviewers for a review on PR #9740.
alexcrichton commented on PR #9740:
I'll note that this is temporarily based on https://github.com/bytecodealliance/wasmtime/pull/9736, so only the second commit is part of this PR
github-actions[bot] commented on PR #9740:
Subscribe to Label Action
cc @fitzgen
<details>
This issue or pull request has been labeled: "wasmtime:ref-types"Thus the following users have been cc'd because of the following labels:
- fitzgen: wasmtime:ref-types
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
fitzgen submitted PR review.
fitzgen created PR review comment:
Was this test file intentionally deleted?
alexcrichton updated PR #9740.
alexcrichton created PR review comment:
Ah yes sorry forgot to call this out, the changes in this PR change codegen for pulley where it uses
uadd_overflow_trap
now instead of add/compare which isn't supported on Pulley yet, so this test no longer passes.
alexcrichton submitted PR review.
alexcrichton has enabled auto merge for PR #9740.
alexcrichton merged PR #9740.
Last updated: Dec 23 2024 at 12:05 UTC