elliottt opened PR #6307 from elliottt:trevor/emit-clif
to bytecodealliance:main
:
Add the
--emit-clif <PATH>
option towasmtime compile
, making it easier to inspect the intermediate clif produced when compiling a wasm module. The path argument is a directory that will be created if its missing, and it will be populated with files namedwasm_func_<idx>.clif
, where<idx>
is the function index in the wasm module.Currently this option is only supported when using cranelift to compile a wasm module, and an error will be raised if winch is used instead.
<!--
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 ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
elliottt requested itsrainy for a review on PR #6307.
elliottt requested wasmtime-core-reviewers for a review on PR #6307.
elliottt updated PR #6307.
elliottt updated PR #6307.
Last updated: Nov 22 2024 at 16:03 UTC