ghc-9.14.1.20260916: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.HsToCore.Usage

Synopsis

Dependency/fingerprinting code (used by GHC.Iface.Make)

mkUsageInfo :: UsageConfig -> Plugins -> FinderCache -> UnitEnv -> Module -> ImportedMods -> [ImportUserSpec] -> NameSet -> [FilePath] -> [(Module, Fingerprint)] -> [Linkable] -> PkgsLoaded -> IfG [Usage] Source #

Build the list of Usages that drive recompilation checking. The resulting list is deterministically sorted.

data UsageConfig Source #

Constructors

UsageConfig 

Fields