summaryrefslogtreecommitdiff
path: root/docs/users_guide/runtime_control.rst
diff options
context:
space:
mode:
authorroland <rsx@bluewin.ch>2018-08-21 16:05:45 -0400
committerBen Gamari <ben@smart-cactus.org>2018-08-21 18:56:12 -0400
commitdcf27e6f78529e7e471a4be64ca47398eb1b6b52 (patch)
tree227bd782b285325d034e7eb28239bc28e368a43d /docs/users_guide/runtime_control.rst
parentddffa0cd8da568c97011007fc6470c61cd4447e5 (diff)
downloadhaskell-dcf27e6f78529e7e471a4be64ca47398eb1b6b52.tar.gz
Show -with-rtsopts options in runtime's --info (#15261)
Add an additional line to the output of +RTS --info. It shows the value of the flag -with-rtsopts provided at compile/link time. Test Plan: make test TESTS="T15261a T15261b" Reviewers: hvr, erikd, dfeuer, thomie, austin, bgamari, simonmar, osa1, monoidal Reviewed By: osa1, monoidal Subscribers: osa1, rwbarton, carter GHC Trac Issues: #15261 Differential Revision: https://phabricator.haskell.org/D5053
Diffstat (limited to 'docs/users_guide/runtime_control.rst')
-rw-r--r--docs/users_guide/runtime_control.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/users_guide/runtime_control.rst b/docs/users_guide/runtime_control.rst
index 797c7e26e4..0c38ac5919 100644
--- a/docs/users_guide/runtime_control.rst
+++ b/docs/users_guide/runtime_control.rst
@@ -1219,6 +1219,7 @@ Getting information about the RTS
,("Word size", "64")
,("Compiler unregisterised", "NO")
,("Tables next to code", "YES")
+ ,("Flag -with-rtsopts", "")
]
The information is formatted such that it can be read as a of type
@@ -1269,3 +1270,6 @@ Getting information about the RTS
performance optimisation that is not available on all platforms.
This field tells you whether the program has been compiled with this
optimisation. (Usually yes, except on unusual platforms.)
+
+ ``Flag -with-rtsopts``
+ The value of the GHC flag :ghc-flag:`-with-rtsopts=⟨opts⟩` at compile/link time.