ghc-9.8.0.20230929: The GHC API
Safe HaskellNone
LanguageHaskell2010

GHC.Linker.Deps

Synopsis

Documentation

data LinkDepsOpts Source #

Constructors

LinkDepsOpts 

Fields

getLinkDeps :: LinkDepsOpts -> Interp -> LoaderState -> SrcSpan -> [Module] -> IO LinkDeps Source #

Find all the packages and linkables that a set of modules depends on

Return the module and package dependencies for the needed modules. See Note [Object File Dependencies]

Fails with an IO exception if it can't find enough files