[llvm-objcopy][llvm-strip] Improve --discard-all documentation and help
authorJames Henderson <james.henderson@sony.com>
Tue, 23 Feb 2021 13:55:48 +0000 (13:55 +0000)
committerJames Henderson <james.henderson@sony.com>
Thu, 4 Mar 2021 10:25:35 +0000 (10:25 +0000)
commitf2e85c3101e34c602ac0342e51c335ac1cb0ae2a
tree13eedfdfb4f16d572c3914de4dadd91020969a94
parent8bb74d16ef04d83f71b1873e7c2e652fb8287b29
[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
llvm/docs/CommandGuide/llvm-objcopy.rst
llvm/docs/CommandGuide/llvm-strip.rst
llvm/tools/llvm-objcopy/CommonOpts.td