summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-nm/llvm-nm.cpp
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2019-04-30 13:51:48 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2019-04-30 13:51:48 +0000
commitfd0831d0f5fe04068111120a4d1f32f8ac03a95e (patch)
treebed32ca36565f16171dc8996e51427cbdc409cf3 /llvm/tools/llvm-nm/llvm-nm.cpp
parent5c45094eaa7ae6438f811521af7fc38471063da1 (diff)
downloadbcm5719-llvm-fd0831d0f5fe04068111120a4d1f32f8ac03a95e.tar.gz
bcm5719-llvm-fd0831d0f5fe04068111120a4d1f32f8ac03a95e.zip
[llvm-nm] Add --special-syms no-op flag
Differential revision: https://reviews.llvm.org/D60502 llvm-svn: 359563
Diffstat (limited to 'llvm/tools/llvm-nm/llvm-nm.cpp')
-rw-r--r--llvm/tools/llvm-nm/llvm-nm.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/llvm-nm/llvm-nm.cpp b/llvm/tools/llvm-nm/llvm-nm.cpp
index 62951480aad..898ffd8bd92 100644
--- a/llvm/tools/llvm-nm/llvm-nm.cpp
+++ b/llvm/tools/llvm-nm/llvm-nm.cpp
@@ -180,6 +180,9 @@ cl::opt<bool> JustSymbolName("just-symbol-name",
cl::alias JustSymbolNames("j", cl::desc("Alias for --just-symbol-name"),
cl::aliasopt(JustSymbolName), cl::Grouping);
+cl::opt<bool> SpecialSyms("special-syms",
+ cl::desc("No-op. Used for GNU compatibility only"));
+
// FIXME: This option takes exactly two strings and should be allowed anywhere
// on the command line. Such that "llvm-nm -s __TEXT __text foo.o" would work.
// But that does not as the CommandLine Library does not have a way to make
OpenPOWER on IntegriCloud