Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
Instances
MonadIO m => EncodeM m SymbolResolverFn (FunPtr SymbolResolverFn) Source # | |
Defined in LLVM.Internal.OrcJIT encodeM :: SymbolResolverFn -> m (FunPtr SymbolResolverFn0) Source # | |
(MonadIO m, MonadAnyCont IO m) => DecodeM m (Either JITSymbolError JITSymbol) (Ptr JITSymbol) Source # | |
Defined in LLVM.Internal.OrcJIT decodeM :: Ptr JITSymbol0 -> m (Either JITSymbolError JITSymbol) Source # | |
MonadIO m => EncodeM m (Either JITSymbolError JITSymbol) (Ptr JITSymbol -> IO ()) Source # | |
Defined in LLVM.Internal.OrcJIT encodeM :: Either JITSymbolError JITSymbol -> m (Ptr JITSymbol0 -> IO ()) Source # |
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 #
getErrorMsg :: Ptr JITSymbol -> IO (OwnerTransfered CString) Source #
setJITSymbol :: Ptr JITSymbol -> TargetAddress -> JITSymbolFlags -> IO () Source #
getMangledSymbol :: Ptr CString -> CString -> Ptr DataLayout -> IO () Source #
disposeMangledSymbol :: CString -> IO () Source #