Stream: git-wasmtime

Topic: wasmtime / issue #4707 Question on how to dump a Cranelif...


view this post on Zulip Wasmtime GitHub notifications bot (Aug 14 2022 at 03:05):

AribYadi opened issue #4707:

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?

view this post on Zulip Wasmtime GitHub notifications bot (Aug 14 2022 at 06:58):

bjorn3 commented on issue #4707:

No, a Module contains already compiled functions. It doesn't contain clif ir. It should be possible to write a Module wrapper printing all clif ir though.

view this post on Zulip Wasmtime GitHub notifications bot (Sep 02 2022 at 15:52):

akirilov-arm labeled issue #4707:

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?

view this post on Zulip Wasmtime GitHub notifications bot (Sep 02 2022 at 15:53):

akirilov-arm labeled issue #4707:

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?

view this post on Zulip Wasmtime GitHub notifications bot (Sep 02 2022 at 15:53):

akirilov-arm labeled issue #4707:

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?


Last updated: Nov 22 2024 at 17:03 UTC