aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/CommandGuide/llvm-objcopy.rst
diff options
context:
space:
mode:
authorJames Henderson <james.henderson@sony.com>2021-02-23 13:55:48 +0000
committerJames Henderson <james.henderson@sony.com>2021-03-04 10:25:35 +0000
commitf2e85c3101e34c602ac0342e51c335ac1cb0ae2a (patch)
tree13eedfdfb4f16d572c3914de4dadd91020969a94 /llvm/docs/CommandGuide/llvm-objcopy.rst
parent8bb74d16ef04d83f71b1873e7c2e652fb8287b29 (diff)
downloadllvm-f2e85c3101e34c602ac0342e51c335ac1cb0ae2a.zip
llvm-f2e85c3101e34c602ac0342e51c335ac1cb0ae2a.tar.gz
llvm-f2e85c3101e34c602ac0342e51c335ac1cb0ae2a.tar.bz2
[llvm-objcopy][llvm-strip] Improve --discard-all documentation and help
The help text and documentation for the --discard-all option failed to mention that the option also causes the removal of debug sections. This change fixes both for both llvm-objcopy and llvm-strip. Reviewed by: MaskRay Differential Revision: https://reviews.llvm.org/D97662
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-objcopy.rst')
-rw-r--r--llvm/docs/CommandGuide/llvm-objcopy.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/CommandGuide/llvm-objcopy.rst b/llvm/docs/CommandGuide/llvm-objcopy.rst
index c4e3b6e..d4e05df 100644
--- a/llvm/docs/CommandGuide/llvm-objcopy.rst
+++ b/llvm/docs/CommandGuide/llvm-objcopy.rst
@@ -59,7 +59,7 @@ multiple file formats.
Remove most local symbols from the output. Different file formats may limit
this to a subset of the local symbols. For example, file and section symbols in
- ELF objects will not be discarded.
+ ELF objects will not be discarded. Additionally, remove all debug sections.
.. option:: --dump-section <section>=<file>