HORIZON HASKELLDocslts/ghc-10.0.xaa25b892026-10-10Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · aa25b89 · 2026-10-10

Moduleghc-10.0.0.20260917GHC2024

GHC.Stg.Debug.Types

  • 3 types
  • 1 value
datadata StgDebugDctConfig
#

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 -fdistinct-constructor-tables is supplied.

  • Only !(Set String)

    Create distinct constructor tables for each usage of only these data constructors.

    This is the behavior if -fdistinct-constructor-tables-only=C1,...,CN is supplied.

  • None

    Do not create distinct constructor tables for any data constructor.

    This is the behavior if -fno-distinct-constructor-tables is given.

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.