summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Flags.hs
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2022-04-10 14:53:16 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-04-22 02:14:10 -0400
commitfcf22883774fab6e77058d981a3f840fa663e3ac (patch)
tree0a3ed87d7aeb343e9461093740d14a141abf8c75 /compiler/GHC/Driver/Flags.hs
parent8f9b8282a294150810db272815f1a47287bf33b6 (diff)
downloadhaskell-fcf22883774fab6e77058d981a3f840fa663e3ac.tar.gz
Include the way string in the file name for dump files.
This can be disabled by `-fno-dump-with-ways` if not desired. Finally we will be able to look at both profiled and non-profiled dumps when compiling with dump flags and we compile in both ways.
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 fef0fb4d90..209e6d1776 100644
--- a/compiler/GHC/Driver/Flags.hs
+++ b/compiler/GHC/Driver/Flags.hs
@@ -147,6 +147,7 @@ data GeneralFlag
-- See Note [Updating flag description in the User's Guide]
= Opt_DumpToFile -- ^ Append dump output to files instead of stdout.
+ | Opt_DumpWithWays -- ^ Use foo.ways.<dumpFlag> instead of foo.<dumpFlag>
| Opt_D_dump_minimal_imports
| Opt_DoCoreLinting
| Opt_DoLinearCoreLinting