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 /docs | |
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 'docs')
-rw-r--r-- | docs/users_guide/debugging.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/users_guide/debugging.rst b/docs/users_guide/debugging.rst index 0d418b3dfd..abc685099b 100644 --- a/docs/users_guide/debugging.rst +++ b/docs/users_guide/debugging.rst @@ -44,6 +44,17 @@ Dumping out compiler intermediate structures ``-ddump-file-prefix=Foo`` will cause the output from :ghc-flag:`-ddump-simpl` to be dumped to :file:`Foo.dump-simpl`. +.. ghc-flag:: -fdump-with-ways + :shortdesc: Include the tag of the enabled ways in the extension of dump files. + :type: dynamic + + :default: enabled + + + When compiling Main.hs with profiling and without this will now produce + ``Main.p.dump-simpl`` and ``Main.dump-simpl`` instead of overwriting the + output of one way with the output of another. + .. ghc-flag:: -ddump-json :shortdesc: Dump error messages as JSON documents :type: dynamic |