diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2020-08-10 14:52:37 -0700 |
---|---|---|
committer | Nick Desaulniers <ndesaulniers@google.com> | 2020-08-10 15:08:48 -0700 |
commit | 4f2ad15db535873dda9bfe248a2771023b64a43c (patch) | |
tree | ac5ca03af28af9e704aed843d2dbe730687b6a85 /clang/docs/CommandGuide | |
parent | 41d4120017f99386a62a9c0aac25fd2a369d0e02 (diff) | |
download | llvm-4f2ad15db535873dda9bfe248a2771023b64a43c.zip llvm-4f2ad15db535873dda9bfe248a2771023b64a43c.tar.gz llvm-4f2ad15db535873dda9bfe248a2771023b64a43c.tar.bz2 |
[Clang] implement -fno-eliminate-unused-debug-types
Fixes pr/11710.
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Resubmit after breaking Windows and OSX builds.
Reviewed By: dblaikie
Differential Revision: https://reviews.llvm.org/D80242
Diffstat (limited to 'clang/docs/CommandGuide')
-rw-r--r-- | clang/docs/CommandGuide/clang.rst | 6 |
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 |