mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-10-08 20:04:02 +00:00
[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
This commit is contained in:
parent
8bb74d16ef
commit
f2e85c3101
@ -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>
|
||||
|
||||
|
@ -39,7 +39,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:: --enable-deterministic-archives, -D
|
||||
|
||||
|
@ -99,7 +99,8 @@ def X : Flag<["-"], "X">,
|
||||
|
||||
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">;
|
||||
|
Loading…
Reference in New Issue
Block a user