StaticFlags

ghc-7.6.3: The GHC API

Safe Haskell | None

StaticFlags

Synopsis

- staticFlags :: [String]
- initStaticOpts :: IO ()
- data WayName
  - = WayThreaded
  - | WayDebug
  - | WayProf
  - | WayEventLog
  - | WayPar
  - | WayGran
  - | WayNDP
  - | WayDyn
- data Way = Way {
  - wayName :: WayName
  - wayTag :: String
  - wayRTSOnly :: Bool
  - wayDesc :: String
  - wayOpts :: [String]
  }
- v_Ways :: IORef [Way]
- isRTSWay :: WayName -> Bool
- mkBuildTag :: [Way] -> String
- opt_PprStyle_Debug :: Bool
- opt_NoDebugOutput :: Bool
- opt_SuppressAll :: Bool
- opt_SuppressUniques :: Bool
- opt_SuppressCoercions :: Bool
- opt_SuppressModulePrefixes :: Bool
- opt_SuppressTypeApplications :: Bool
- opt_SuppressIdInfo :: Bool
- opt_SuppressTypeSignatures :: Bool
- opt_SuppressVarKinds :: Bool
- opt_SccProfilingOn :: Bool
- opt_Hpc :: Bool
- opt_DictsStrict :: Bool
- opt_NoStateHack :: Bool
- opt_SimpleListLiterals :: Bool
- opt_CprOff :: Bool
- opt_SimplNoPreInlining :: Bool
- opt_SimplExcessPrecision :: Bool
- opt_NoOptCoercion :: Bool
- opt_MaxWorkerArgs :: Int
- opt_UF_CreationThreshold :: Int
- opt_UF_UseThreshold :: Int
- opt_UF_FunAppDiscount :: Int
- opt_UF_DictDiscount :: Int
- opt_UF_KeenessFactor :: Float
- opt_UF_DearOp :: Int
- opt_Fuel :: Int
- opt_PIC :: Bool
- opt_Static :: Bool
- opt_ErrorSpans :: Bool
- opt_HistorySize :: Int
- opt_Unregisterised :: Bool
- v_Ld_inputs :: IORef [String]
- tablesNextToCode :: Bool
- opt_StubDeadValues :: Bool
- opt_Ticky :: Bool
- addOpt :: String -> IO ()
- removeOpt :: String -> IO ()
- addWay :: WayName -> IO ()
- getWayFlags :: IO [String]
- v_opt_C_ready :: IORef Bool
- saveStaticFlagGlobals :: IO (Bool, [String], [Way])
- restoreStaticFlagGlobals :: (Bool, [String], [Way]) -> IO ()

# Documentation

staticFlags :: [String]

initStaticOpts :: IO ()

data WayName

Constructors

WayThreaded |
WayDebug |
WayProf |
WayEventLog |
WayPar |
WayGran |
WayNDP |
WayDyn |

Instances

Eq WayName |
Ord WayName |

data Way

Constructors

Way |
Fields wayName :: WayName wayTag :: String wayRTSOnly :: Bool wayDesc :: String wayOpts :: [String]

v_Ways :: IORef [Way]

isRTSWay :: WayName -> Bool

mkBuildTag :: [Way] -> String

opt_PprStyle_Debug :: Bool

opt_NoDebugOutput :: Bool

opt_SuppressAll :: Bool

Suppress all that is suppressable in core dumps. Except for uniques, as some simplifier phases introduce new varibles that have otherwise identical names.

opt_SuppressUniques :: Bool

Suppress unique ids on variables. Except for uniques, as some simplifier phases introduce new variables that have otherwise identical names.

opt_SuppressCoercions :: Bool

Suppress all coercions, them replacing with `...`

opt_SuppressModulePrefixes :: Bool

Suppress module id prefixes on variables.

opt_SuppressTypeApplications :: Bool

Suppress type applications.

opt_SuppressIdInfo :: Bool

Suppress info such as arity and unfoldings on identifiers.

opt_SuppressTypeSignatures :: Bool

Suppress separate type signatures in core, but leave types on lambda bound vars

opt_SuppressVarKinds :: Bool

opt_SccProfilingOn :: Bool

opt_Hpc :: Bool

opt_DictsStrict :: Bool

opt_NoStateHack :: Bool

opt_SimpleListLiterals :: Bool

opt_CprOff :: Bool

opt_SimplNoPreInlining :: Bool

opt_SimplExcessPrecision :: Bool

opt_NoOptCoercion :: Bool

opt_MaxWorkerArgs :: Int

opt_UF_CreationThreshold :: Int

opt_UF_UseThreshold :: Int

opt_UF_FunAppDiscount :: Int

opt_UF_DictDiscount :: Int

opt_UF_KeenessFactor :: Float

opt_UF_DearOp :: Int

opt_Fuel :: Int

opt_PIC :: Bool

opt_Static :: Bool

opt_ErrorSpans :: Bool

opt_HistorySize :: Int

opt_Unregisterised :: Bool

v_Ld_inputs :: IORef [String]

tablesNextToCode :: Bool

opt_StubDeadValues :: Bool

opt_Ticky :: Bool

addOpt :: String -> IO ()

removeOpt :: String -> IO ()

addWay :: WayName -> IO ()

getWayFlags :: IO [String]

v_opt_C_ready :: IORef Bool

saveStaticFlagGlobals :: IO (Bool, [String], [Way])

restoreStaticFlagGlobals :: (Bool, [String], [Way]) -> IO ()