From: Rui Ueyama Date: Fri, 26 Feb 2016 16:49:54 +0000 (+0000) Subject: Fix broken buildbots. X-Git-Tag: llvmorg-3.9.0-rc1~13105 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=68e15559b8c331a74f7b5a2a9b69b7b1d0d5bd48;p=platform%2Fupstream%2Fllvm.git Fix broken buildbots. llvm-svn: 262034 --- diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index 343f3fc..661324b 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -920,7 +920,7 @@ template void Writer::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())