summaryrefslogtreecommitdiff
path: root/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
commit1fbd511a3a881ce1d725a24be85a95c9e0c92001 (patch)
tree279d7f2620b6ad6e9b7e051d9ad90ddd474e6a5b /docs/tools
parent67e05a136070efe7ba4f943521bc5a90bbf3d2c3 (diff)
downloadclang-1fbd511a3a881ce1d725a24be85a95c9e0c92001.tar.gz
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
Diffstat (limited to 'docs/tools')
-rw-r--r--docs/tools/clang.pod8
1 files changed, 8 insertions, 0 deletions
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