Skip to content

Commit

Permalink
[docs][llvm-strip] Fix documentation for -s/-S
Browse files Browse the repository at this point in the history
Fix the command line guide for -g/-s/-S.
In particular, previously it was incorrectly stating that -S is an alias for --strip-all.

Differential revision: https://reviews.llvm.org/D104888
  • Loading branch information
Alexander Shaposhnikov committed Jun 27, 2021
1 parent 7a11235 commit d867824
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/docs/CommandGuide/llvm-strip.rst
Expand Up @@ -74,7 +74,7 @@ multiple file formats.
Remove all symbols, debug sections and relocations from the output. This option
is equivalent to GNU :program:`strip`'s ``--strip-all`` switch.

.. option:: --strip-all, -S
.. option:: --strip-all, -s

For ELF objects, remove from the output all symbols and non-alloc sections not
within segments, except for .gnu.warning, .ARM.attribute sections and the
Expand All @@ -83,7 +83,7 @@ multiple file formats.
For COFF objects, remove all symbols, debug sections, and relocations from the
output.

.. option:: --strip-debug, -g
.. option:: --strip-debug, -d, -g, -S

Remove all debug sections from the output.

Expand Down

0 comments on commit d867824

Please sign in to comment.