r197819 - Document the -fno-limit-debug-info switch in the man page.

Adrian Prantl aprantl at apple.com
Fri Dec 20 09:39:35 PST 2013


Author: adrian
Date: Fri Dec 20 11:39:35 2013
New Revision: 197819

URL: http://llvm.org/viewvc/llvm-project?rev=197819&view=rev
Log:
Document the -fno-limit-debug-info switch in the man page.

Modified:
    cfe/trunk/docs/tools/clang.pod

Modified: cfe/trunk/docs/tools/clang.pod
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/tools/clang.pod?rev=197819&r1=197818&r2=197819&view=diff
==============================================================================
--- cfe/trunk/docs/tools/clang.pod (original)
+++ cfe/trunk/docs/tools/clang.pod Fri Dec 20 11:39:35 2013
@@ -313,6 +313,14 @@ Generate debug information.  Note that C
 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





More information about the cfe-commits mailing list