[PATCH] D102321: [llvm-nm] Support the -V option, print that the tool is compatible with GNU nm
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 12 09:52:19 PDT 2021
MaskRay added a comment.
llvm/docs/CommandGuide/llvm-nm.rst needs update.
================
Comment at: llvm/tools/llvm-nm/llvm-nm.cpp:2241
+static void printExtraVersionInfo(raw_ostream &outs) {
+ outs << "llvm-nm, compatible with GNU nm\n";
+}
----------------
Does libtool detect the substring `GNU nm`? If not, the notice should be dropped.
For example, `ld.lld` prints `compatible with GNU linkers` just because libtool detects `GNU` (D31199).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102321/new/
https://reviews.llvm.org/D102321
More information about the llvm-commits
mailing list