SysTools.ExtraObj

ghc-8.10.1: The GHC API

Safe Haskell | None
Language | Haskell2010

SysTools.ExtraObj

Synopsis

- mkExtraObj :: DynFlags -> Suffix -> String -> IO FilePath
- mkExtraObjToLinkIntoBinary :: DynFlags -> IO FilePath
- mkNoteObjsToLinkIntoBinary :: DynFlags -> [InstalledUnitId] -> IO [FilePath]
- checkLinkInfo :: DynFlags -> [InstalledUnitId] -> FilePath -> IO Bool
- getLinkInfo :: DynFlags -> [InstalledUnitId] -> IO String
- getCompilerInfo :: DynFlags -> IO CompilerInfo
- ghcLinkInfoSectionName :: String
- ghcLinkInfoNoteName :: String
- platformSupportsSavingLinkOpts :: OS -> Bool
- haveRtsOptsFlags :: DynFlags -> Bool

# Documentation

mkExtraObj :: DynFlags -> Suffix -> String -> IO FilePath #

mkExtraObjToLinkIntoBinary :: DynFlags -> IO FilePath #

mkNoteObjsToLinkIntoBinary :: DynFlags -> [InstalledUnitId] -> IO [FilePath] #

checkLinkInfo :: DynFlags -> [InstalledUnitId] -> FilePath -> IO Bool #

getLinkInfo :: DynFlags -> [InstalledUnitId] -> IO String #

Return the "link info" string

See Note [LinkInfo section]

getCompilerInfo :: DynFlags -> IO CompilerInfo #

ghcLinkInfoSectionName :: String #

ghcLinkInfoNoteName :: String #

platformSupportsSavingLinkOpts :: OS -> Bool #

haveRtsOptsFlags :: DynFlags -> Bool #