alexcrichton opened PR #8237 from alexcrichton:change-how-compile-tests-work
to bytecodealliance:main
:
This commit changes how the
compile
mode of thedisas
test suite
works. Previously this would use--emit-clif
and run the Cranelift
pipeline for each individual function and use the custom VCode-based
disassembly for instruction output. This commit instead uses the raw
binary coming out of Wasmtime. The ELF file itself is parsed and is
disassembled in a manner similar to Winch tests.The goal of this commit is somewhat twofold:
Lay the groundwork to migrate all Winch-based filetests to
tests/disas
.Test the raw output from Cranelift/Wasmtime which includes
optimizations like branch chomping in theMachBuffer
.This commit doesn't itself move the Winch tests yet, that's left for a
future commit.
alexcrichton requested wasmtime-core-reviewers for a review on PR #8237.
alexcrichton requested fitzgen for a review on PR #8237.
alexcrichton requested wasmtime-default-reviewers for a review on PR #8237.
fitzgen submitted PR review:
Nice!
alexcrichton updated PR #8237.
alexcrichton updated PR #8237.
alexcrichton has enabled auto merge for PR #8237.
alexcrichton merged PR #8237.
Last updated: Dec 23 2024 at 13:07 UTC