ghc-9.6.3: The GHC API

Safe Haskell | Safe-Inferred
Language | Haskell2010

GHC.ByteCode.Linker

Description

Bytecode assembler and linker

# Documentation

linkBCO :: Interp -> LinkerEnv -> NameEnv Int -> RemoteRef BreakArray -> UnlinkedBCO -> IO ResolvedBCO Source #

lookupStaticPtr :: Interp -> FastString -> IO (Ptr ()) Source #

lookupIE :: Interp -> ItblEnv -> Name -> IO (Ptr ()) Source #

nameToCLabel :: Name -> String -> FastString Source #

linkFail :: String -> String -> IO a Source #