Skip to content

Question on how to dump a Cranelift module #4707

Open
@AribYadi

Description

@AribYadi

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions