From: James Henderson Date: Fri, 13 Sep 2019 13:26:52 +0000 (+0000) Subject: [docs][llvm-objcopy][llvm-strip] Improve --strip-unneeded description X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=762060c8db43c1ad7a7fda86a598d22d450f92b4;p=llvm [docs][llvm-objcopy][llvm-strip] Improve --strip-unneeded description Behaviour was recently added to this switch to strip debug sections too. See r369761. This change also makes the description for the --strip-unneeded switch consistent between the two docs. Reviewed by: MaskRay Differential Revision: https://reviews.llvm.org/D67546 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371855 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/CommandGuide/llvm-objcopy.rst b/docs/CommandGuide/llvm-objcopy.rst index 065811c782b..04721170f50 100644 --- a/docs/CommandGuide/llvm-objcopy.rst +++ b/docs/CommandGuide/llvm-objcopy.rst @@ -123,7 +123,7 @@ multiple file formats. .. option:: --strip-unneeded Remove from the output all local or undefined symbols that are not required by - relocations. + relocations. Also remove all debug sections. .. option:: --version, -V diff --git a/docs/CommandGuide/llvm-strip.rst b/docs/CommandGuide/llvm-strip.rst index fb1d5a133fc..a4f497ae0e7 100644 --- a/docs/CommandGuide/llvm-strip.rst +++ b/docs/CommandGuide/llvm-strip.rst @@ -97,7 +97,8 @@ multiple file formats. .. option:: --strip-unneeded - Remove all local or undefined symbols that are not required by relocations. + Remove from the output all local or undefined symbols that are not required by + relocations. Also remove all debug sections. .. option:: --version, -V