ghc-9.4.0.20220721: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Linker.ExtraObj

Synopsis

Documentation

getLinkInfo :: DynFlags -> UnitEnv -> [UnitId] -> IO String Source #

Return the "link info" string

See Note [LinkInfo section]

getCompilerInfo :: Logger -> DynFlags -> IO CompilerInfo Source #

Grab compiler info and cache it in DynFlags.