summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-02-24 10:45:58 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-03-03 08:12:42 -0500
commit3f9af89128988652f024b142e3feb6216fa88b30 (patch)
treee7caced4f4e450442c3a2caab6b8cd33a09a11ff /docs
parent3630b9baa3887a5bf5cb3ba12e48301fe6cce173 (diff)
downloadhaskell-3f9af89128988652f024b142e3feb6216fa88b30.tar.gz
Add a flag to dump the FastString table
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/debugging.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/users_guide/debugging.rst b/docs/users_guide/debugging.rst
index b1612f4536..d8a024dde4 100644
--- a/docs/users_guide/debugging.rst
+++ b/docs/users_guide/debugging.rst
@@ -68,6 +68,13 @@ Dumping out compiler intermediate structures
Show statistics on the usage of fast strings by the compiler.
+.. ghc-flag:: -ddump-faststrings
+ :shortdesc: Dump the whole FastString table when finished
+ :type: dynamic
+
+ Dump the whole FastString table when finished. Consider using
+ :ghc-flag:`-ddump-file-prefix=⟨str⟩` to dump it into a file.
+
.. ghc-flag:: -dppr-debug
:shortdesc: Turn on debug printing (more verbose)
:type: dynamic