aboutsummaryrefslogtreecommitdiff
path: root/clang/docs/CommandGuide/clang.rst
diff options
context:
space:
mode:
Diffstat (limited to 'clang/docs/CommandGuide/clang.rst')
-rw-r--r--clang/docs/CommandGuide/clang.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst
index 2cca04f..394bd1be 100644
--- a/clang/docs/CommandGuide/clang.rst
+++ b/clang/docs/CommandGuide/clang.rst
@@ -433,6 +433,12 @@ Code Generation Options
never emit type information for types that are not referenced at all by the
program.
+.. option:: -feliminate-unused-debug-types
+
+ By default, Clang does not emit type information for types that are defined
+ but not used in a program. To retain the debug info for these unused types,
+ the negation **-fno-eliminate-unused-debug-types** can be used.
+
.. option:: -fexceptions
Enable generation of unwind information. This allows exceptions to be thrown