[PATCH] D48751: nm: Add -no-weak flag for hiding weak symbols

Dave Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 29 12:03:40 PDT 2018


kastiglione added inline comments.


================
Comment at: tools/llvm-nm/llvm-nm.cpp:85
+cl::opt<bool> NoWeakSymbols("no-weak",
+                            cl::desc("Don't show weak symbols"));
+cl::alias NoWeakSymbols2("W", cl::desc("Alias for --no-weak"),
----------------
This should probably be "Show only non-weak symbols" since all the rest of the descriptions are phrased affirmatively.


Repository:
  rL LLVM

https://reviews.llvm.org/D48751





More information about the llvm-commits mailing list