summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2016-01-27 12:24:48 +0100
committerBen Gamari <ben@smart-cactus.org>2016-01-27 12:24:48 +0100
commit45c6fbc5284f83e1253ff9f3b49fe54a76c20ba7 (patch)
treede60126eea9719caa1a9b3b58814fe5062bd5724 /docs
parentd50609e8f7a9c3a19d9d75c6133e742c9b584732 (diff)
downloadhaskell-45c6fbc5284f83e1253ff9f3b49fe54a76c20ba7.tar.gz
Document -fllvm-fill-undef-with-garbage
Diffstat (limited to 'docs')
-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 80c9f8d3bf..a7bbbb5e0b 100644
--- a/docs/users_guide/debugging.rst
+++ b/docs/users_guide/debugging.rst
@@ -333,6 +333,12 @@ Checking for consistency
Ditto for C-- level.
+.. ghc-flag:: -fllvm-fill-undef-with-garbage
+
+ Instructs the LLVM code generator to fill dead STG registers with garbage
+ instead of ``undef`` in calls. This makes it easier to catch subtle
+ code generator and runtime system bugs (e.g. see :ghc-ticket:`11487`).
+
.. _checking-determinism:
Checking for determinism