summaryrefslogtreecommitdiffstats
path: root/lld/ELF/SymbolTable.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2016-08-31 12:30:34 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2016-08-31 12:30:34 +0000
commita6c9744a6ce55ec525834f16de2bc2dedfc65524 (patch)
tree85dc40c542b4625c294fff574aecee2bc8e8e87e /lld/ELF/SymbolTable.cpp
parent29fa6ab7b11913e8f8ff4a3f39d16f8822fe89d0 (diff)
downloadbcm5719-llvm-a6c9744a6ce55ec525834f16de2bc2dedfc65524.tar.gz
bcm5719-llvm-a6c9744a6ce55ec525834f16de2bc2dedfc65524.zip
Delete DefinedBitcode.
Given that we almost always want to handle it as DefinedRegular, just use DefinedRegular. llvm-svn: 280226
Diffstat (limited to 'lld/ELF/SymbolTable.cpp')
-rw-r--r--lld/ELF/SymbolTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/SymbolTable.cpp b/lld/ELF/SymbolTable.cpp
index e701d928c11..0aacb04aa95 100644
--- a/lld/ELF/SymbolTable.cpp
+++ b/lld/ELF/SymbolTable.cpp
@@ -471,7 +471,7 @@ Symbol *SymbolTable<ELFT>::addBitcode(StringRef Name, uint8_t Binding,
/*IsUsedInRegularObj*/ false, F);
int Cmp = compareDefinedNonCommon<ELFT>(S, WasInserted, Binding);
if (Cmp > 0)
- replaceBody<DefinedBitcode>(S, Name, StOther, Type, F);
+ replaceBody<DefinedRegular<ELFT>>(S, Name, StOther, Type, F);
else if (Cmp == 0)
reportDuplicate(S->body(), F);
return S;
OpenPOWER on IntegriCloud