Skip to content

Expose ExecutionEngine #65

@NathanHowell

Description

@NathanHowell

The ExecutionEngine has been restricted to the land of FFI for quite some time. The preferred route for dealing with an ExecutionEngine has been through the EngineAccess monad. This is historically significant because LLVM previously allowed a single ExecutionEngine per process, a limit that has since been lifted. I think it's time to change this. I have an old patch 1fce8ae sitting around that totally removes the EngineAccess related goo. This might be a bit extreme, so I'm wondering if anyone else here has opinions on the matter. Should we:

  • Remove EngineAccess totally and replace it's usage with ExecutionEngine (per the referenced patch)
  • Add a second set of functions to work with ExecutionEngine, and optionally mark the EngineAccess bits as deprecated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions