ghc-9.0.1: The GHC API
Safe HaskellNone
LanguageHaskell2010

GHC.Driver.CodeOutput

Synopsis

Documentation

codeOutput Source #

Arguments

:: DynFlags 
-> Module 
-> FilePath 
-> ModLocation 
-> ForeignStubs 
-> [(ForeignSrcLang, FilePath)]

additional files to be compiled with the C compiler

-> [UnitId] 
-> Stream IO RawCmmGroup a 
-> IO (FilePath, (Bool, Maybe FilePath), [(ForeignSrcLang, FilePath)], a) 

profilingInitCode :: Module -> CollectedCCs -> SDoc Source #

Generate code to initialise cost centres