summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-01-30 19:54:16 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-01-30 19:54:16 +0000
commitcca341bb4e71561769c1f74d183ed8ecde559328 (patch)
treeb23baee39b7b277ade5a231b8d68d897d4e8704f /llvm/docs/CommandGuide
parentcc981d285d1aa33df201605b9a3e22dd2311ead2 (diff)
downloadbcm5719-llvm-cca341bb4e71561769c1f74d183ed8ecde559328.tar.gz
bcm5719-llvm-cca341bb4e71561769c1f74d183ed8ecde559328.zip
[dsymutil] Enable -minimize feature.
Passing -minimize to dsymutil prevents the emission of .debug_inlines, .debug_pubnames, and .debug_pubtypes in favor of the Apple accelerator tables. The actual check in the DWARF linker was added in r323655. This patch simply enables it. Differential revision: https://reviews.llvm.org/D42688 llvm-svn: 323812
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r--llvm/docs/CommandGuide/dsymutil.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/dsymutil.rst b/llvm/docs/CommandGuide/dsymutil.rst
index a29bc3c295c..7813204ef7c 100644
--- a/llvm/docs/CommandGuide/dsymutil.rst
+++ b/llvm/docs/CommandGuide/dsymutil.rst
@@ -35,6 +35,13 @@ OPTIONS
Produce a flat dSYM file. A ``.dwarf`` extension will be appended to the
executable name unless the output file is specified using the -o option.
+
+.. option:: -z, --minimize
+
+ When used when creating a dSYM file, this option will suppress the emission of
+ the .debug_inlines, .debug_pubnames, and .debug_pubtypes sections since
+ dsymutil currently has better equivalents: .apple_names and .apple_types.
+
.. option:: --no-odr
Do not use ODR (One Definition Rule) for uniquing C++ types.
OpenPOWER on IntegriCloud