]> granicus.if.org Git - llvm/commitdiff
[docs][llvm-objcopy][llvm-strip] Improve --strip-unneeded description
authorJames Henderson <jh7370@my.bristol.ac.uk>
Fri, 13 Sep 2019 13:26:52 +0000 (13:26 +0000)
committerJames Henderson <jh7370@my.bristol.ac.uk>
Fri, 13 Sep 2019 13:26:52 +0000 (13:26 +0000)
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

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

index 065811c782b4968d6b3f6e5cbdb651e400a40bc7..04721170f50310dbe3892c9d361fe8fa587c2409 100644 (file)
@@ -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
 
index fb1d5a133fc89186d0cc03a186876a80521dcd89..a4f497ae0e7ea2278a32f00033f8c34d28ae1a7a 100644 (file)
@@ -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