projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c72238
)
Simplify. NFC.
author
Rafael Espindola
<rafael.espindola@gmail.com>
Tue, 25 Jul 2017 23:23:40 +0000
(23:23 +0000)
committer
Rafael Espindola
<rafael.espindola@gmail.com>
Tue, 25 Jul 2017 23:23:40 +0000
(23:23 +0000)
llvm-svn: 309053
lld/ELF/SymbolTable.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/SymbolTable.cpp
b/lld/ELF/SymbolTable.cpp
index
5b50de9
..
9c5b29f
100644
(file)
--- a/
lld/ELF/SymbolTable.cpp
+++ b/
lld/ELF/SymbolTable.cpp
@@
-429,7
+429,7
@@
static void reportDuplicate(SymbolBody *Sym, InputSectionBase *ErrSec,
typename ELFT::uint ErrOffset) {
DefinedRegular *D = dyn_cast<DefinedRegular>(Sym);
if (!D || !D->Section || !ErrSec) {
- reportDuplicate(Sym, ErrSec ? ErrSec->
getFile<ELFT>()
: nullptr);
+ reportDuplicate(Sym, ErrSec ? ErrSec->
File
: nullptr);
return;
}