diff options
author | Eugene Leviant <eleviant@accesssoftek.com> | 2019-04-30 13:51:48 +0000 |
---|---|---|
committer | Eugene Leviant <eleviant@accesssoftek.com> | 2019-04-30 13:51:48 +0000 |
commit | fd0831d0f5fe04068111120a4d1f32f8ac03a95e (patch) | |
tree | bed32ca36565f16171dc8996e51427cbdc409cf3 /llvm/tools/llvm-nm/llvm-nm.cpp | |
parent | 5c45094eaa7ae6438f811521af7fc38471063da1 (diff) | |
download | bcm5719-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.cpp | 3 |
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 |