| Safe Haskell | None |
|---|---|
| Language | GHC2024 |
GHC.Unit.Module.Status
Synopsis
- data HscBackendAction
- data HscRecompStatus
- data RecompLinkables = RecompLinkables {}
- data RecompBytecodeLinkable
- emptyRecompLinkables :: RecompLinkables
- justBytecode :: Either Linkable WholeCoreBindingsLinkable -> RecompLinkables
- justObjects :: Linkable -> RecompLinkables
- bytecodeAndObjects :: Either Linkable WholeCoreBindingsLinkable -> Linkable -> RecompLinkables
- safeCastHomeModLinkable :: HomeModLinkable -> RecompLinkables
Documentation
data HscBackendAction Source #
Action to perform in backend compilation
Constructors
| HscUpdate ModIface | Update the boot and signature file results. |
| HscRecomp | Recompile this module. |
Fields
| |
Instances
| Outputable HscBackendAction Source # | |
Defined in GHC.Unit.Module.Status Methods ppr :: HscBackendAction -> SDoc Source # | |
data HscRecompStatus Source #
Status of a module in incremental compilation
Constructors
| HscUpToDate ModIface RecompLinkables | Nothing to do because code already exists. |
| HscRecompNeeded (Maybe Fingerprint) | Recompilation of module, or update of interface is required. Optionally pass the old interface hash to avoid updating the existing interface when it has not changed. |
Instances
| Outputable HscRecompStatus Source # | |
Defined in GHC.Unit.Module.Status Methods ppr :: HscRecompStatus -> SDoc Source # | |
data RecompLinkables Source #
Linkables produced by hscRecompStatus. Might contain serialized core
which can be turned into BCOs (or object files), or used by some other
backend. See Note [Interface Files with Core Definitions].
Constructors
| RecompLinkables | |
Instances
| Outputable RecompLinkables Source # | |
Defined in GHC.Unit.Module.Status Methods ppr :: RecompLinkables -> SDoc Source # | |
data RecompBytecodeLinkable Source #
Constructors
| NormalLinkable !(Maybe Linkable) | |
| WholeCoreBindingsLinkable !WholeCoreBindingsLinkable |
Instances
| Outputable RecompBytecodeLinkable Source # | |
Defined in GHC.Unit.Module.Status Methods ppr :: RecompBytecodeLinkable -> SDoc Source # | |