Fix broken buildbots.

llvm-svn: 262034
This commit is contained in:
Rui Ueyama 2016-02-26 16:49:54 +00:00
parent 8fa3e4c3fb
commit 68e15559b8
1 changed files with 1 additions and 1 deletions

View File

@ -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())