SysTools.Tasks

ghc-8.4.1.20180329: The GHC API

Safe Haskell | None
Language | Haskell2010

SysTools.Tasks

Synopsis

- runUnlit :: DynFlags -> [Option] -> IO ()
- runCpp :: DynFlags -> [Option] -> IO ()
- runPp :: DynFlags -> [Option] -> IO ()
- runCc :: DynFlags -> [Option] -> IO ()
- isContainedIn :: String -> String -> Bool
- askLd :: DynFlags -> [Option] -> IO String
- runSplit :: DynFlags -> [Option] -> IO ()
- runAs :: DynFlags -> [Option] -> IO ()
- runLlvmOpt :: DynFlags -> [Option] -> IO ()
- runLlvmLlc :: DynFlags -> [Option] -> IO ()
- runClang :: DynFlags -> [Option] -> IO ()
- figureLlvmVersion :: DynFlags -> IO (Maybe (Int, Int))
- runLink :: DynFlags -> [Option] -> IO ()
- runLibtool :: DynFlags -> [Option] -> IO ()
- runAr :: DynFlags -> Maybe FilePath -> [Option] -> IO ()
- askAr :: DynFlags -> Maybe FilePath -> [Option] -> IO String
- runRanlib :: DynFlags -> [Option] -> IO ()
- runMkDLL :: DynFlags -> [Option] -> IO ()
- runWindres :: DynFlags -> [Option] -> IO ()
- touch :: DynFlags -> String -> String -> IO ()

# Documentation

runUnlit :: DynFlags -> [Option] -> IO () Source #

runCpp :: DynFlags -> [Option] -> IO () Source #

runPp :: DynFlags -> [Option] -> IO () Source #

runCc :: DynFlags -> [Option] -> IO () Source #

isContainedIn :: String -> String -> Bool Source #

askLd :: DynFlags -> [Option] -> IO String Source #

Run the linker with some arguments and return the output

runSplit :: DynFlags -> [Option] -> IO () Source #

runAs :: DynFlags -> [Option] -> IO () Source #

runLlvmOpt :: DynFlags -> [Option] -> IO () Source #

Run the LLVM Optimiser

runLlvmLlc :: DynFlags -> [Option] -> IO () Source #

Run the LLVM Compiler

runClang :: DynFlags -> [Option] -> IO () Source #

Run the clang compiler (used as an assembler for the LLVM backend on OS X as LLVM doesn't support the OS X system assembler)

figureLlvmVersion :: DynFlags -> IO (Maybe (Int, Int)) Source #

Figure out which version of LLVM we are running this session

runLink :: DynFlags -> [Option] -> IO () Source #

runLibtool :: DynFlags -> [Option] -> IO () Source #

runAr :: DynFlags -> Maybe FilePath -> [Option] -> IO () Source #

askAr :: DynFlags -> Maybe FilePath -> [Option] -> IO String Source #

runRanlib :: DynFlags -> [Option] -> IO () Source #

runMkDLL :: DynFlags -> [Option] -> IO () Source #

runWindres :: DynFlags -> [Option] -> IO () Source #

touch :: DynFlags -> String -> String -> IO () Source #