diff options
| author | Adrian Prantl <aprantl@apple.com> | 2014-06-13 21:12:31 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2014-06-13 21:12:31 +0000 |
| commit | 7ccdd18151f89b513993d54f4154168d2cc60804 (patch) | |
| tree | 5611425ac5c8252ee526ba5656ac822435e708fa /docs | |
| parent | a20f46c319ebb59fa32958ff3529b7f1ade68789 (diff) | |
| download | clang-7ccdd18151f89b513993d54f4154168d2cc60804.tar.gz clang-7ccdd18151f89b513993d54f4154168d2cc60804.tar.bz2 clang-7ccdd18151f89b513993d54f4154168d2cc60804.tar.xz | |
Copy the documentation of -fstandalone-debug from the man page to the user
manual.
rdar://problem/17307006
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210936 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/UsersManual.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/UsersManual.rst b/docs/UsersManual.rst index b716c0a982..1f1b99a4bf 100644 --- a/docs/UsersManual.rst +++ b/docs/UsersManual.rst @@ -1298,6 +1298,22 @@ below. If multiple flags are present, the last one is used. doesn't contain any other data (e.g. description of local variables or function parameters). +.. option:: -fstandalone-debug -fno-standalone-debug + + Clang supports a number of optimizations to reduce the size of debug + information in the binary. They work based on the assumption that + the debug type information can be spread out over multiple + compilation units. For instance, Clang will not emit type + definitions for types that are not needed by a module and could be + replaced with a forward declaration. Further, Clang will only emit + type info for a dynamic C++ class in the module that contains the + vtable for the class. + + The ``-fstandalone-debug`` option turns off these optimizations. + This is useful when working with 3rd-party libraries that don't come + with debug information. Note that Clang will never emit type + information for types that are not referenced at all by the program. + .. option:: -g Generate complete debug info. |
