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:
8bbff7e
)
Add missing typename.
author
Rafael Espindola
<rafael.espindola@gmail.com>
Thu, 14 Apr 2016 14:40:38 +0000
(14:40 +0000)
committer
Rafael Espindola
<rafael.espindola@gmail.com>
Thu, 14 Apr 2016 14:40:38 +0000
(14:40 +0000)
llvm-svn: 266318
lld/ELF/Writer.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/Writer.cpp
b/lld/ELF/Writer.cpp
index
b54e2bb
..
0efc571
100644
(file)
--- a/
lld/ELF/Writer.cpp
+++ b/
lld/ELF/Writer.cpp
@@
-1102,7
+1102,7
@@
template <class ELFT> void Writer<ELFT>::addReservedSymbols() {
if (!isOutputDynamic())
Symtab.addIgnored("__tls_get_addr");
- auto Define = [this](StringRef S, ElfSym<ELFT>::SymPair &Sym) {
+ auto Define = [this](StringRef S,
typename
ElfSym<ELFT>::SymPair &Sym) {
Sym.first = Symtab.addIgnored(S, STV_DEFAULT);
// The name without the underscore is not a reserved name,