summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide
diff options
context:
space:
mode:
authorJames Henderson <jh7370@my.bristol.ac.uk>2019-09-13 13:26:52 +0000
committerJames Henderson <jh7370@my.bristol.ac.uk>2019-09-13 13:26:52 +0000
commit818e5c9503a4a0aaa18d3f5c6da5b2c491d58da1 (patch)
tree0fa4d52d110dbcc1abc6cbaf3eff2cf4582c0408 /llvm/docs/CommandGuide
parent41f4d68a50beeaeb821baa29b5591a7146b98b05 (diff)
downloadbcm5719-llvm-818e5c9503a4a0aaa18d3f5c6da5b2c491d58da1.tar.gz
bcm5719-llvm-818e5c9503a4a0aaa18d3f5c6da5b2c491d58da1.zip
[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 llvm-svn: 371855
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r--llvm/docs/CommandGuide/llvm-objcopy.rst2
-rw-r--r--llvm/docs/CommandGuide/llvm-strip.rst3
2 files changed, 3 insertions, 2 deletions
diff --git a/llvm/docs/CommandGuide/llvm-objcopy.rst b/llvm/docs/CommandGuide/llvm-objcopy.rst
index 065811c782b..04721170f50 100644
--- a/llvm/docs/CommandGuide/llvm-objcopy.rst
+++ b/llvm/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/llvm/docs/CommandGuide/llvm-strip.rst b/llvm/docs/CommandGuide/llvm-strip.rst
index fb1d5a133fc..a4f497ae0e7 100644
--- a/llvm/docs/CommandGuide/llvm-strip.rst
+++ b/llvm/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
OpenPOWER on IntegriCloud