[PATCH] D126133: [llvm-nm][docs] Document -W and -U
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 23 09:59:14 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG224a8653c98e: [llvm-nm][docs] Document -W and -U (authored by MaskRay).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126133/new/
https://reviews.llvm.org/D126133
Files:
llvm/docs/CommandGuide/llvm-nm.rst
llvm/tools/llvm-nm/Opts.td
Index: llvm/tools/llvm-nm/Opts.td
===================================================================
--- llvm/tools/llvm-nm/Opts.td
+++ llvm/tools/llvm-nm/Opts.td
@@ -77,7 +77,7 @@
def : F<"S", "Alias for --print-size">, Alias<print_size>;
def : JoinedOrSeparate<["-"], "t">, HelpText<"Alias for --radix">, Alias<radix_EQ>, MetaVarName<"<radix>">;
def : F<"u", "Alias for --undefined-only">, Alias<undefined_only>;
-def : F<"U", "Deprecated alias for --defined-only">, Alias<defined_only>, Flags<[HelpHidden]>;
+def : F<"U", "Alias for --defined-only">, Alias<defined_only>;
def : F<"v", "Alias for --numeric-sort">, Alias<numeric_sort>;
def : F<"V", "Alias for --version">, Alias<version>;
-def : F<"W", "Deprecated alias for --no-weak">, Alias<no_weak>, Flags<[HelpHidden]>;
+def : F<"W", "Alias for --no-weak">, Alias<no_weak>;
Index: llvm/docs/CommandGuide/llvm-nm.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-nm.rst
+++ llvm/docs/CommandGuide/llvm-nm.rst
@@ -145,7 +145,7 @@
Show all symbols, even those usually suppressed.
-.. option:: --defined-only
+.. option:: --defined-only, -U
Print only symbols defined in this file.
@@ -197,7 +197,7 @@
Show symbols in the order encountered.
-.. option:: --no-weak
+.. option:: --no-weak, -W
Don't print weak symbols.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126133.431414.patch
Type: text/x-patch
Size: 1354 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220523/5cfeb177/attachment.bin>
More information about the llvm-commits
mailing list