[PATCH] D63142: [llvm-nm] Fix docs and help text for --print-size

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 12 03:41:44 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL363136: [llvm-nm] Fix docs and help text for --print-size (authored by jhenderson, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D63142?vs=204247&id=204249#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63142/new/

https://reviews.llvm.org/D63142

Files:
  llvm/trunk/docs/CommandGuide/llvm-nm.rst
  llvm/trunk/tools/llvm-nm/llvm-nm.cpp


Index: llvm/trunk/tools/llvm-nm/llvm-nm.cpp
===================================================================
--- llvm/trunk/tools/llvm-nm/llvm-nm.cpp
+++ llvm/trunk/tools/llvm-nm/llvm-nm.cpp
@@ -147,7 +147,7 @@
                        cl::aliasopt(ReverseSort), cl::Grouping);
 
 cl::opt<bool> PrintSize("print-size",
-                        cl::desc("Show symbol size instead of address"),
+                        cl::desc("Show symbol size as well as address"),
                         cl::cat(NMCat));
 cl::alias PrintSizeS("S", cl::desc("Alias for --print-size"),
                      cl::aliasopt(PrintSize), cl::Grouping);
Index: llvm/trunk/docs/CommandGuide/llvm-nm.rst
===================================================================
--- llvm/trunk/docs/CommandGuide/llvm-nm.rst
+++ llvm/trunk/docs/CommandGuide/llvm-nm.rst
@@ -121,7 +121,7 @@
 
 .. option:: --print-size, -S
 
- Show symbol size instead of address.
+ Show symbol size as well as address (not applicable for Mach-O).
 
 .. option:: --size-sort
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63142.204249.patch
Type: text/x-patch
Size: 1031 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190612/fe3e35f7/attachment.bin>


More information about the llvm-commits mailing list