ghc-9.10.3: The GHC API

Safe Haskell | None
Language | GHC2021

GHC.ByteCode.Linker

Description

Bytecode assembler and linker

# Documentation

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

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

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

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

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