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:
8fa3e4c
)
Fix broken buildbots.
author
Rui Ueyama
<ruiu@google.com>
Fri, 26 Feb 2016 16:49:54 +0000
(16:49 +0000)
committer
Rui Ueyama
<ruiu@google.com>
Fri, 26 Feb 2016 16:49:54 +0000
(16:49 +0000)
llvm-svn: 262034
lld/ELF/Writer.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/Writer.cpp
b/lld/ELF/Writer.cpp
index
343f3fc
..
661324b
100644
(file)
--- a/
lld/ELF/Writer.cpp
+++ b/
lld/ELF/Writer.cpp
@@
-920,7
+920,7
@@
template <class ELFT> void Writer<ELFT>::addReservedSymbols() {
// The name without the underscore is not a reserved name,
// so it is defined only when there is a reference against it.
- assert(
Name
.startswith("_"));
+ assert(
S
.startswith("_"));
S = S.substr(1);
if (SymbolBody *B = Symtab.find(S))
if (B->isUndefined())