ghc-lib-parser-0.20220501: The GHC API, decoupled from GHC versions
Safe HaskellNone
LanguageHaskell2010

GHC.Platform.Profile

Description

Platform profiles

Synopsis

Documentation

data Profile Source #

A platform profile fully describes the kind of objects that are generated for a platform.

Platform doesn't fully describe the ABI of an object. Compiler ways (profiling, debug, dynamic) also modify the ABI.

Constructors

Profile 

Fields

Instances

Instances details
Eq Profile Source # 
Instance details

Defined in GHC.Platform.Profile

Methods

(==) :: Profile -> Profile -> Bool #

(/=) :: Profile -> Profile -> Bool #

Ord Profile Source # 
Instance details

Defined in GHC.Platform.Profile

Read Profile Source # 
Instance details

Defined in GHC.Platform.Profile

Show Profile Source # 
Instance details

Defined in GHC.Platform.Profile

profileBuildTag :: Profile -> String Source #

Unique build tag for the profile

profileConstants :: Profile -> PlatformConstants Source #

Get platform constants

profileIsProfiling :: Profile -> Bool Source #

Is profiling enabled

profileWordSizeInBytes :: Profile -> Int Source #

Word size in bytes