summaryrefslogtreecommitdiffstats
path: root/llvm/tools
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-04-26 16:27:11 +0000
committerFangrui Song <maskray@google.com>2019-04-26 16:27:11 +0000
commit283bc74054ec519181619cd0062524b30df27b00 (patch)
treeb1d8c54f00860ae38bef0868e399baee5fc36c67 /llvm/tools
parent5015aa854dc043b2ae5d95e04e00d98518207ce5 (diff)
downloadbcm5719-llvm-283bc74054ec519181619cd0062524b30df27b00.tar.gz
bcm5719-llvm-283bc74054ec519181619cd0062524b30df27b00.zip
[llvm-nm] Revert inadvertently committed 'i' change in r359314
llvm-svn: 359315
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/llvm-nm/llvm-nm.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/tools/llvm-nm/llvm-nm.cpp b/llvm/tools/llvm-nm/llvm-nm.cpp
index 8f73fccf2a9..ebb2c3d06b9 100644
--- a/llvm/tools/llvm-nm/llvm-nm.cpp
+++ b/llvm/tools/llvm-nm/llvm-nm.cpp
@@ -928,9 +928,6 @@ static char getSymbolNMTypeChar(ELFObjectFileBase &Obj,
// OK, this is ELF
elf_symbol_iterator SymI(I);
- if (SymI->getELFType() == ELF::STT_GNU_IFUNC)
- return 'i';
-
Expected<elf_section_iterator> SecIOrErr = SymI->getSection();
if (!SecIOrErr) {
consumeError(SecIOrErr.takeError());
OpenPOWER on IntegriCloud