[PATCH] D67546: [docs][llvm-objcopy][llvm-strip] Improve --strip-unneeded description

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 13 05:43:51 PDT 2019


jhenderson created this revision.
jhenderson added reviewers: rupprecht, MaskRay, jakehehrlich.
Herald added a reviewer: alexshap.
Herald added a subscriber: abrachet.
Herald added a project: LLVM.

Behaviour was recently added to this switch to strip debug sections too. See rL369761 <https://reviews.llvm.org/rL369761>.

This change makes the description for the --strip-unneeded switch consistent between the two docs.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D67546

Files:
  llvm/docs/CommandGuide/llvm-objcopy.rst
  llvm/docs/CommandGuide/llvm-strip.rst


Index: llvm/docs/CommandGuide/llvm-strip.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-strip.rst
+++ llvm/docs/CommandGuide/llvm-strip.rst
@@ -97,7 +97,8 @@
 
 .. 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
 
Index: llvm/docs/CommandGuide/llvm-objcopy.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-objcopy.rst
+++ llvm/docs/CommandGuide/llvm-objcopy.rst
@@ -123,7 +123,7 @@
 .. 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
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67546.220079.patch
Type: text/x-patch
Size: 915 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190913/3dee407e/attachment.bin>


More information about the llvm-commits mailing list