summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-nm/llvm-nm.cpp
diff options
context:
space:
mode:
authorJames Henderson <jh7370@my.bristol.ac.uk>2019-06-12 10:44:41 +0000
committerJames Henderson <jh7370@my.bristol.ac.uk>2019-06-12 10:44:41 +0000
commit2c16bb80348db39de13c29c174f1def8f84f853c (patch)
tree1017e1539ef2ea664875a0d65a2b4512c419cf2e /llvm/tools/llvm-nm/llvm-nm.cpp
parentf243ca4af8c660cf6add48de21dacce8b6912cfe (diff)
downloadbcm5719-llvm-2c16bb80348db39de13c29c174f1def8f84f853c.tar.gz
bcm5719-llvm-2c16bb80348db39de13c29c174f1def8f84f853c.zip
[llvm-nm] Fix docs and help text for --print-size
The --print-size help text and documentation claimed that the size was printed instead of the address, but this is incorrect. It is printed as well as the address. This patch fixes this issue. Reviewed by: MaskRay, mtrent, ruiu Differential Revision: https://reviews.llvm.org/D63142 llvm-svn: 363136
Diffstat (limited to 'llvm/tools/llvm-nm/llvm-nm.cpp')
-rw-r--r--llvm/tools/llvm-nm/llvm-nm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-nm/llvm-nm.cpp b/llvm/tools/llvm-nm/llvm-nm.cpp
index 871ca638d9d..08e0e104be1 100644
--- a/llvm/tools/llvm-nm/llvm-nm.cpp
+++ b/llvm/tools/llvm-nm/llvm-nm.cpp
@@ -147,7 +147,7 @@ cl::alias ReverseSortr("r", cl::desc("Alias for --reverse-sort"),
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);
OpenPOWER on IntegriCloud