Commit 471b2a09 authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari

users-guide: Fix various issues in debugging flags section

Reviewers: ggreif

Reviewed By: ggreif

Subscribers: rwbarton, thomie, carter, ggreif

Differential Revision: https://phabricator.haskell.org/D4750
parent 533d3451
......@@ -216,11 +216,10 @@ subexpression elimination pass.
:shortdesc: Dump desugarer output.
:type: dynamic
Dump desugarer output. `-ddump-ds` dumps the output after the very simple
optimiser has run (which discards a lot of clutter and
hence is a sensible default. `-ddump-ds-preopt` shows
the output after desugaring but before the very simple
optimiser.
Dump desugarer output. :ghc-flag:`-ddump-ds` dumps the output after the very
simple optimiser has run (which discards a lot of clutter and hence is a
sensible default. :ghc-flag:`-ddump-ds-preopt` shows the output after
desugaring but before the very simple optimiser.
.. ghc-flag:: -ddump-simpl-iterations
......@@ -228,15 +227,14 @@ subexpression elimination pass.
:type: dynamic
Show the output of each *iteration* of the simplifier (each run of
the simplifier has a maximum number of iterations, normally 4). This
outputs even more information than ``-ddump-simpl-phases``.
the simplifier has a maximum number of iterations, normally 4).
.. ghc-flag:: -ddump-simpl-stats
:shortdesc: Dump simplifier stats
:type: dynamic
Dump statistics about how many of each kind of transformation took
place. If you add ``-dppr-debug`` you get more detailed information.
place. If you add :ghc-flag:`-dppr-debug` you get more detailed information.
.. ghc-flag:: -dverbose-core2core
:shortdesc: Show output from each core-to-core pass
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment