Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
(MonadIO m, MonadAnyCont IO m) => DecodeM m JITSymbol (Ptr JITSymbol) Source # | |
Defined in LLVM.Internal.OrcJIT | |
MonadIO m => EncodeM m SymbolResolverFn (FunPtr SymbolResolverFn) Source # | |
Defined in LLVM.Internal.OrcJIT encodeM :: SymbolResolverFn -> m (FunPtr SymbolResolverFn0) Source # | |
MonadIO m => EncodeM m JITSymbol (Ptr JITSymbol -> IO ()) Source # | |
Defined in LLVM.Internal.OrcJIT |
data LambdaResolver Source #
Instances
MonadIO m => EncodeM m SymbolResolver (IORef [IO ()] -> IO (Ptr LambdaResolver)) Source # | |
Defined in LLVM.Internal.OrcJIT encodeM :: SymbolResolver -> m (IORef [IO ()] -> IO (Ptr LambdaResolver)) Source # |
newtype TargetAddress Source #
createLambdaResolver :: FunPtr SymbolResolverFn -> FunPtr SymbolResolverFn -> IO (Ptr LambdaResolver) Source #
disposeLambdaResolver :: Ptr LambdaResolver -> IO () Source #
getAddress :: Ptr JITSymbol -> Ptr (OwnerTransfered CString) -> IO TargetAddress Source #
setJITSymbol :: Ptr JITSymbol -> TargetAddress -> JITSymbolFlags -> IO () Source #
getMangledSymbol :: Ptr CString -> CString -> Ptr DataLayout -> IO () Source #
disposeMangledSymbol :: CString -> IO () Source #