Skip to content

LLVM modules are deallocated before after_llvm phase controller is called #34432

Closed
@willcrichton

Description

@willcrichton

The CompileController's after_llvm phase should (I believe) allow the programmer to access the generated LLVM IR for the various modules. However, the after_llvm phase is called after the end of phase 5, and at the end of phase 5 the LLVM modules are deallocated. I'm not sure what the right solution is here, but it would be fabulous to have programmatic access to the LLVM IR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions