summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Flags.hs
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-09-16 11:27:52 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-09-28 01:53:01 -0400
commit45a674aacf33dc47c48506b834752d59fffd7e2c (patch)
tree86288ea42f9735d58f623525795d797ccc689fa2 /compiler/GHC/Driver/Flags.hs
parente38facf85200ea97ca107caefd1b17252639bc18 (diff)
downloadhaskell-45a674aacf33dc47c48506b834752d59fffd7e2c.tar.gz
Add `-dsuppress-core-sizes` flag (#20342)
This flag is used to remove the output of core stats per binding in Core dumps.
Diffstat (limited to 'compiler/GHC/Driver/Flags.hs')
-rw-r--r--compiler/GHC/Driver/Flags.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/GHC/Driver/Flags.hs b/compiler/GHC/Driver/Flags.hs
index a63935795e..e0ddaff52b 100644
--- a/compiler/GHC/Driver/Flags.hs
+++ b/compiler/GHC/Driver/Flags.hs
@@ -354,6 +354,7 @@ data GeneralFlag
| Opt_SuppressStgExts
| Opt_SuppressTicks -- Replaces Opt_PprShowTicks
| Opt_SuppressTimestamps -- ^ Suppress timestamps in dumps
+ | Opt_SuppressCoreSizes -- ^ Suppress per binding Core size stats in dumps
-- temporary flags
| Opt_AutoLinkPackages