[PATCH] D101890: [LLD] Improve --strip-all help text
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 6 04:34:25 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5dd9f44c17ec: [LLD] Improve --strip-all help text (authored by Ben Dunbobbin <Ben.Dunbobbin at sony.com>).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101890/new/
https://reviews.llvm.org/D101890
Files:
lld/ELF/Options.td
lld/docs/ld.lld.1
Index: lld/docs/ld.lld.1
===================================================================
--- lld/docs/ld.lld.1
+++ lld/docs/ld.lld.1
@@ -503,6 +503,8 @@
in an archive.
.It Fl -strip-all , Fl s
Strip all symbols.
+Implies
+.Fl -strip-debug .
.It Fl -strip-debug , Fl S
Strip debugging information.
.It Fl -symbol-ordering-file Ns = Ns Ar file
Index: lld/ELF/Options.td
===================================================================
--- lld/ELF/Options.td
+++ lld/ELF/Options.td
@@ -381,7 +381,7 @@
def start_lib: F<"start-lib">,
HelpText<"Start a grouping of objects that should be treated as if they were together in an archive">;
-def strip_all: F<"strip-all">, HelpText<"Strip all symbols">;
+def strip_all: F<"strip-all">, HelpText<"Strip all symbols. Implies --strip-debug">;
def strip_debug: F<"strip-debug">, HelpText<"Strip debugging information">;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101890.343358.patch
Type: text/x-patch
Size: 882 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210506/2187c479/attachment.bin>
More information about the llvm-commits
mailing list