From 1fbd511a3a881ce1d725a24be85a95c9e0c92001 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Fri, 20 Dec 2013 17:39:35 +0000 Subject: [PATCH] Document the -fno-limit-debug-info switch in the man page. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197819 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/tools/clang.pod | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/tools/clang.pod b/docs/tools/clang.pod index a58986c3a6..23fa913f91 100644 --- a/docs/tools/clang.pod +++ b/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 -- 2.40.0