llvm-hs-6.1.1: General purpose LLVM bindings

Safe HaskellNone
LanguageHaskell2010

LLVM.Internal.OrcJIT

Synopsis

Documentation

data JITSymbol Source #

Constructors

JITSymbol 

Fields

data SymbolResolver Source #

Specifies how external symbols in a module added to a CompielLayer should be resolved.

Constructors

SymbolResolver 

Fields

Instances
MonadIO m => EncodeM m SymbolResolver (IORef [IO ()] -> IO (Ptr LambdaResolver)) Source # 
Instance details

Defined in LLVM.Internal.OrcJIT

allocWithCleanup :: IORef [IO ()] -> IO a -> (a -> IO ()) -> IO a Source #

Allocate the resource and register it for cleanup.

allocFunPtr :: IORef [IO ()] -> IO (FunPtr a) -> IO (FunPtr a) Source #

Allocate a function pointer and register it for cleanup.