[PATCH] D97662: [llvm-objcopy][llvm-strip] Improve --discard-all documentation and help
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 4 02:33:54 PST 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf2e85c3101e3: [llvm-objcopy][llvm-strip] Improve --discard-all documentation and help (authored by jhenderson).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97662/new/
https://reviews.llvm.org/D97662
Files:
llvm/docs/CommandGuide/llvm-objcopy.rst
llvm/docs/CommandGuide/llvm-strip.rst
llvm/tools/llvm-objcopy/CommonOpts.td
Index: llvm/tools/llvm-objcopy/CommonOpts.td
===================================================================
--- llvm/tools/llvm-objcopy/CommonOpts.td
+++ llvm/tools/llvm-objcopy/CommonOpts.td
@@ -99,7 +99,8 @@
def discard_all
: Flag<["--"], "discard-all">,
- HelpText<"Remove all local symbols except file and section symbols">;
+ HelpText<"Remove all local symbols except file and section symbols. Also "
+ "remove all debug sections">;
def x : Flag<["-"], "x">,
Alias<discard_all>,
HelpText<"Alias for --discard-all">;
Index: llvm/docs/CommandGuide/llvm-strip.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-strip.rst
+++ llvm/docs/CommandGuide/llvm-strip.rst
@@ -39,7 +39,7 @@
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:: --enable-deterministic-archives, -D
Index: llvm/docs/CommandGuide/llvm-objcopy.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-objcopy.rst
+++ llvm/docs/CommandGuide/llvm-objcopy.rst
@@ -59,7 +59,7 @@
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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97662.328091.patch
Type: text/x-patch
Size: 1670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210304/719f3cd9/attachment.bin>
More information about the llvm-commits
mailing list