ghc-9.14.1: GHC/Driver/Pipeline.hs-boot
module GHC.Driver.Pipeline where
import GHC.Driver.Env.Types ( HscEnv )
import GHC.ForeignSrcLang ( ForeignSrcLang )
import GHC.Prelude (FilePath, IO, Maybe, Either)
import GHC.Unit.Module.Location (ModLocation)
import GHC.Driver.Session (DynFlags)
import GHC.Driver.Phases (Phase)
import GHC.Driver.Errors.Types (DriverMessages)
import GHC.Types.Target (InputFileBuffer)
import Language.Haskell.Syntax.Module.Name
-- These are used in GHC.Driver.Pipeline.Execute, but defined in terms of runPipeline
compileForeign :: HscEnv -> ForeignSrcLang -> FilePath -> IO FilePath
compileEmptyStub :: DynFlags -> HscEnv -> FilePath -> ModLocation -> ModuleName -> IO ()
preprocess :: HscEnv
-> FilePath
-> Maybe InputFileBuffer
-> Maybe Phase
-> IO (Either DriverMessages (DynFlags, FilePath))