| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
GHC.Driver.CodeOutput
Synopsis
- codeOutput :: DynFlags -> Module -> FilePath -> ModLocation -> ForeignStubs -> [(ForeignSrcLang, FilePath)] -> [UnitId] -> Stream IO RawCmmGroup a -> IO (FilePath, (Bool, Maybe FilePath), [(ForeignSrcLang, FilePath)], a)
- outputForeignStubs :: DynFlags -> Module -> ModLocation -> ForeignStubs -> IO (Bool, Maybe FilePath)
- profilingInitCode :: Module -> CollectedCCs -> SDoc
Documentation
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) |
outputForeignStubs :: DynFlags -> Module -> ModLocation -> ForeignStubs -> IO (Bool, Maybe FilePath) #
profilingInitCode :: Module -> CollectedCCs -> SDoc #
Generate code to initialise cost centres