summaryrefslogtreecommitdiffstats
path: root/clang/docs/tools
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2013-12-20 17:39:35 +0000
committerAdrian Prantl <aprantl@apple.com>2013-12-20 17:39:35 +0000
commitf418b10972f9b661c376709b24801170fa4e42ca (patch)
tree7b00c5376740f6de5df37fae7cb0ce868ed5a9b1 /clang/docs/tools
parent46c19039383d325e7184d17d4041e1ec9cfcb575 (diff)
downloadbcm5719-llvm-f418b10972f9b661c376709b24801170fa4e42ca.tar.gz
bcm5719-llvm-f418b10972f9b661c376709b24801170fa4e42ca.zip
Document the -fno-limit-debug-info switch in the man page.
llvm-svn: 197819
Diffstat (limited to 'clang/docs/tools')
-rw-r--r--clang/docs/tools/clang.pod8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/docs/tools/clang.pod b/clang/docs/tools/clang.pod
index a58986c3a6b..23fa913f91b 100644
--- a/clang/docs/tools/clang.pod
+++ b/clang/docs/tools/clang.pod
@@ -313,6 +313,14 @@ Generate debug information. Note that Clang debug information works best at
B<-O0>. At higher optimization levels, only line number information is
currently available.
+=item B<-flimit-debug-info> B<-fno-limit-debug-info>
+
+By default Clang does not emit type definitions for types that are not
+needed by the module and could be replaced with a forward
+declaration. By specifying B<-fno-limit-debug-info> this optimization
+can be turned off. Note that Clang will never emit type information
+for types that are not referenced at all by the program.
+
=item B<-fexceptions>
Enable generation of unwind information, this allows exceptions to be thrown
OpenPOWER on IntegriCloud