ghc-9.10.1: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Types.HpcInfo

Description

Haskell Program Coverage (HPC) support

Synopsis

Documentation

data HpcInfo Source #

Information about a modules use of Haskell Program Coverage

Constructors

HpcInfo 
NoHpcInfo 

Fields

type AnyHpcUsage = Bool Source #

This is used to signal if one of my imports used HPC instrumentation even if there is no module-local HPC usage

isHpcUsed :: HpcInfo -> AnyHpcUsage Source #

Find out if HPC is used by this module or any of the modules it depends upon