]> granicus.if.org Git - clang/commitdiff
Document the -fno-limit-debug-info switch in the man page.
authorAdrian Prantl <aprantl@apple.com>
Fri, 20 Dec 2013 17:39:35 +0000 (17:39 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 20 Dec 2013 17:39:35 +0000 (17:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197819 91177308-0d34-0410-b5e6-96231b3b80d8

docs/tools/clang.pod

index a58986c3a6b94c7462088394700846bb77e0b855..23fa913f91b39ce0fb855b5955040d4886398096 100644 (file)
@@ -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