| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
GHC.Stg.Debug.Types
Synopsis
- data SpanWithLabel = SpanWithLabel RealSrcSpan LexicalFastString
- data StgDebugOpts = StgDebugOpts {}
- data StgDebugDctConfig
- dctConfigOnly :: StgDebugDctConfig -> Set String -> StgDebugDctConfig
Documentation
data SpanWithLabel Source #
Constructors
| SpanWithLabel RealSrcSpan LexicalFastString |
data StgDebugOpts Source #
Constructors
| StgDebugOpts | |
data StgDebugDctConfig Source #
Configuration describing which constructors should be given distinct info tables for each usage.
Constructors
| All | Create distinct constructor tables for each usage of any data constructor. This is the behavior if just |
| Only !(Set String) | Create distinct constructor tables for each usage of only these data constructors. This is the behavior if |
| None | Do not create distinct constructor tables for any data constructor. This is the behavior if |
dctConfigOnly :: StgDebugDctConfig -> Set String -> StgDebugDctConfig Source #
Given a distinct constructor tables configuration and a set of constructor names that we want to generate distinct info tables for, create a new configuration which includes those constructors.
If the given set is empty, that means the user has entered
-fdistinct-constructor-tables with no constructor names specified, and
therefore we consider that an All configuration.