[llvm] r371855 - [docs][llvm-objcopy][llvm-strip] Improve --strip-unneeded description
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 13 06:26:52 PDT 2019
Author: jhenderson
Date: Fri Sep 13 06:26:52 2019
New Revision: 371855
URL: http://llvm.org/viewvc/llvm-project?rev=371855&view=rev
Log:
[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
Modified:
llvm/trunk/docs/CommandGuide/llvm-objcopy.rst
llvm/trunk/docs/CommandGuide/llvm-strip.rst
Modified: llvm/trunk/docs/CommandGuide/llvm-objcopy.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/llvm-objcopy.rst?rev=371855&r1=371854&r2=371855&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/llvm-objcopy.rst (original)
+++ llvm/trunk/docs/CommandGuide/llvm-objcopy.rst Fri Sep 13 06:26:52 2019
@@ -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
Modified: llvm/trunk/docs/CommandGuide/llvm-strip.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/llvm-strip.rst?rev=371855&r1=371854&r2=371855&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/llvm-strip.rst (original)
+++ llvm/trunk/docs/CommandGuide/llvm-strip.rst Fri Sep 13 06:26:52 2019
@@ -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
More information about the llvm-commits
mailing list