summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorklebinger.andreas@gmx.at <klebinger.andreas@gmx.at>2018-06-04 13:26:22 -0400
committerBen Gamari <ben@smart-cactus.org>2018-06-04 14:21:39 -0400
commit36091ec94e85d871b12b07e69c1589224d1dd7e2 (patch)
tree000c972338eff345526af57c995fb85a85db2fe7
parentd8efb0983cf90aa4224cb62ce8d7fb37e7e6dffb (diff)
downloadhaskell-36091ec94e85d871b12b07e69c1589224d1dd7e2.tar.gz
Document the fact that cmm dumps won't show unreachable blocks.
Reviewers: bgamari Reviewed By: bgamari Subscribers: rwbarton, thomie, carter Differential Revision: https://phabricator.haskell.org/D4788
-rw-r--r--docs/users_guide/debugging.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/users_guide/debugging.rst b/docs/users_guide/debugging.rst
index 7adcc84f13..a3f0be7a12 100644
--- a/docs/users_guide/debugging.rst
+++ b/docs/users_guide/debugging.rst
@@ -382,6 +382,9 @@ These flags dump various phases of GHC's C-\\- pipeline.
``.cmm`` compilation this also dumps the result of
file parsing.
+ Cmm dumps don't include unreachable blocks since we print
+ blocks in reverse post order.
+
.. ghc-flag:: -ddump-cmm-from-stg
:shortdesc: Dump STG-to-C-\\- output
:type: dynamic