summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authornineonine <mail4chemik@gmail.com>2019-07-13 00:11:46 -0700
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-07-26 00:57:39 -0400
commitaae0457f412aa40dd192ca2cbea565ea60b182ec (patch)
treefd58e2a399fd70e0aeaa9e6c9eb7415877776ba3 /docs
parent30b6f391801d58e364f79df5da2cf9f02be2ba5f (diff)
downloadhaskell-aae0457f412aa40dd192ca2cbea565ea60b182ec.tar.gz
Change behaviour of -ddump-cmm-verbose to dump each Cmm pass output to a separate file and add -ddump-cmm-verbose-by-proc to keep old behaviour (#16930)
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/debugging.rst11
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/users_guide/debugging.rst b/docs/users_guide/debugging.rst
index ff02fc4c7b..f966e1a32f 100644
--- a/docs/users_guide/debugging.rst
+++ b/docs/users_guide/debugging.rst
@@ -391,8 +391,8 @@ C-\\- representation
These flags dump various phases of GHC's C-\\- pipeline.
-.. ghc-flag:: -ddump-cmm-verbose
- :shortdesc: Show output from main C-\\- pipeline passes
+.. ghc-flag:: -ddump-cmm-verbose-by-proc
+ :shortdesc: Show output from main C-\\- pipeline passes (grouped by proc)
:type: dynamic
Dump output from main C-\\- pipeline stages. In case of
@@ -404,6 +404,13 @@ These flags dump various phases of GHC's C-\\- pipeline.
Cmm dumps don't include unreachable blocks since we print
blocks in reverse post-order.
+.. ghc-flag:: -ddump-cmm-verbose
+ :shortdesc: Write output from main C-\\- pipeline passes to files
+ :type: dynamic
+
+ If used in conjunction with `-ddump-to-file`, writes dump
+ output from main C-\\- pipeline stages to files (each stage per file).
+
.. ghc-flag:: -ddump-cmm-from-stg
:shortdesc: Dump STG-to-C-\\- output
:type: dynamic