summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
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