ghc-9.10.1: The GHC API
Safe HaskellNone
LanguageGHC2021

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