From cca341bb4e71561769c1f74d183ed8ecde559328 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 30 Jan 2018 19:54:16 +0000 Subject: [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 --- llvm/docs/CommandGuide/dsymutil.rst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'llvm/docs/CommandGuide') 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. -- cgit v1.2.3