[llvm] d867824 - [docs][llvm-strip] Fix documentation for -s/-S
Alexander Shaposhnikov via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 26 21:27:20 PDT 2021
Author: Alexander Shaposhnikov
Date: 2021-06-26T21:26:53-07:00
New Revision: d8678246fcd9fe3a33646afab4251706e2506c51
URL: https://github.com/llvm/llvm-project/commit/d8678246fcd9fe3a33646afab4251706e2506c51
DIFF: https://github.com/llvm/llvm-project/commit/d8678246fcd9fe3a33646afab4251706e2506c51.diff
LOG: [docs][llvm-strip] Fix documentation for -s/-S
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
Added:
Modified:
llvm/docs/CommandGuide/llvm-strip.rst
Removed:
################################################################################
diff --git a/llvm/docs/CommandGuide/llvm-strip.rst b/llvm/docs/CommandGuide/llvm-strip.rst
index 983fba749b38c..461fb828a2bb5 100644
--- a/llvm/docs/CommandGuide/llvm-strip.rst
+++ b/llvm/docs/CommandGuide/llvm-strip.rst
@@ -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
@@ -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.
More information about the llvm-commits
mailing list