llvm-hs-5.1.1: General purpose LLVM bindings

Safe HaskellNone
LanguageHaskell98

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

class LinkingLayer l where Source #

After a CompileLayer has compiled the modules to object code, it passes the resulting object files to a LinkingLayer.

Minimal complete definition

getLinkingLayer

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

allocate a function pointer and register it for cleanup

newObjectLinkingLayer :: IO ObjectLinkingLayer Source #

Create a new ObjectLinkingLayer. This should be disposed using disposeLinkingLayer when it is no longer needed.