Information about modules in the package being compiled
Constructors
HomeModInfohm_iface :: !ModIfaceThe basic loaded interface file: every loaded module has one of these, even if it is imported from another package
hm_details :: ModDetailsExtra information that has been created from the ModIface for the module, typically during typechecking
hm_linkable :: !HomeModLinkableThe actual artifact we would like to link to access things in this module. See Note [Home module build products]
hm_linkable might be empty:
If this is an .hs-boot module
Temporarily during compilation if we pruned away the old linkable because it was out of date.
When re-linking a module (
GHC.Driver.Main.HscNoRecomp), we construct the HomeModInfo by building a new ModDetails from the old ModIface (only).