summaryrefslogtreecommitdiff
path: root/docs/users_guide/phases.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/users_guide/phases.rst')
-rw-r--r--docs/users_guide/phases.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/users_guide/phases.rst b/docs/users_guide/phases.rst
index 88b6659a05..2b156d7328 100644
--- a/docs/users_guide/phases.rst
+++ b/docs/users_guide/phases.rst
@@ -728,10 +728,11 @@ Options affecting code generation
Request that GHC emits verbose symbol tables which include local symbols
for module-internal functions. These can be useful for tools like
:ref:`perf <https://perf.wiki.kernel.org/>` but increase object file sizes.
+ This is implied by :ghc-flag:`-g2 <-g>` and above.
- :ghc-flag:`-fno-expose-internal-symbols` suppresses all non-global symbol
- table entries, resulting in smaller object file sizes at the expense of
- debuggability.
+ :ghc-flag:`-fno-expose-internal-symbols <-fexpose-internal-symbols>`
+ suppresses all non-global symbol table entries, resulting in smaller object
+ file sizes at the expense of debuggability.
.. _options-linker: