diff options
author | Andreas Klebinger <klebinger.andreas@gmx.at> | 2022-04-10 14:53:16 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-04-22 02:14:10 -0400 |
commit | fcf22883774fab6e77058d981a3f840fa663e3ac (patch) | |
tree | 0a3ed87d7aeb343e9461093740d14a141abf8c75 /compiler/GHC/Driver/Config | |
parent | 8f9b8282a294150810db272815f1a47287bf33b6 (diff) | |
download | haskell-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/Config')
-rw-r--r-- | compiler/GHC/Driver/Config/Logger.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/GHC/Driver/Config/Logger.hs b/compiler/GHC/Driver/Config/Logger.hs index c448a7d58e..1bffa5f368 100644 --- a/compiler/GHC/Driver/Config/Logger.hs +++ b/compiler/GHC/Driver/Config/Logger.hs @@ -23,7 +23,9 @@ initLogFlags dflags = LogFlags , log_dump_dir = dumpDir dflags , log_dump_prefix = dumpPrefix dflags , log_dump_prefix_override = dumpPrefixForce dflags + , log_with_ways = gopt Opt_DumpWithWays dflags , log_enable_debug = not (hasNoDebugOutput dflags) , log_verbosity = verbosity dflags + , log_ways = Just $ ways dflags } |