summaryrefslogtreecommitdiff
path: root/docs/users_guide/debugging.rst
diff options
context:
space:
mode:
authorZubin Duggal <zubin@cmi.ac.in>2019-06-29 19:20:54 +0530
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-04-03 06:24:56 -0400
commitef7576c40f8de391ed8b1c81c38156202e6d17cf (patch)
tree1d06bc5da2da90c0a5250d3eaeb009e2a31ace5a /docs/users_guide/debugging.rst
parent30a63e79c65b023497af4fe2347149382c71829d (diff)
downloadhaskell-ef7576c40f8de391ed8b1c81c38156202e6d17cf.tar.gz
Add outputable instances for the types in GHC.Iface.Ext.Types, add -ddump-hie
flag to dump pretty printed contents of the .hie file Metric Increase: hie002 Because of the regression on i386: compile_time/bytes allocated increased from i386-linux-deb9 baseline @ HEAD~10: Expected hie002 (normal) compile_time/bytes allocated: 583014888.0 +/-10% Lower bound hie002 (normal) compile_time/bytes allocated: 524713399 Upper bound hie002 (normal) compile_time/bytes allocated: 641316377 Actual hie002 (normal) compile_time/bytes allocated: 877986292 Deviation hie002 (normal) compile_time/bytes allocated: 50.6 % *** unexpected stat test failure for hie002(normal)
Diffstat (limited to 'docs/users_guide/debugging.rst')
-rw-r--r--docs/users_guide/debugging.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/users_guide/debugging.rst b/docs/users_guide/debugging.rst
index 61a06b2e38..ef23bf4566 100644
--- a/docs/users_guide/debugging.rst
+++ b/docs/users_guide/debugging.rst
@@ -177,6 +177,12 @@ These flags dump various information from GHC's typechecker and renamer.
Dump typechecker output as a syntax tree
+.. ghc-flag:: -ddump-hie
+ :shortdesc: Dump the hie file syntax tree
+ :type: dynamic
+
+ Dump the hie file syntax tree if we are generating extended interface files
+
.. ghc-flag:: -ddump-splices
:shortdesc: Dump TH spliced expressions, and what they evaluate to
:type: dynamic