bytecodealliance / bytecodealliance/wasmtime

Question on how to dump a Cranelift module

Open
#4,707 1 comment 0 reactions 0 assignees View on GitHub
cranelift cranelift:area:clif cranelift:area:debug
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 18h
Merged PRs (30d)
126

Description

Hi, I need to dump/print a Cranelift module to Cranelift IR for debugging purpose, and I cannot seem to find that feature. There is `Function::display` however to dump the whole module instead of just a single function. Is there anyway to dump/print the whole module?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.