[lld] r262034 - Fix broken buildbots.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 26 08:49:54 PST 2016
Author: ruiu
Date: Fri Feb 26 10:49:54 2016
New Revision: 262034
URL: http://llvm.org/viewvc/llvm-project?rev=262034&view=rev
Log:
Fix broken buildbots.
Modified:
lld/trunk/ELF/Writer.cpp
Modified: lld/trunk/ELF/Writer.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Writer.cpp?rev=262034&r1=262033&r2=262034&view=diff
==============================================================================
--- lld/trunk/ELF/Writer.cpp (original)
+++ lld/trunk/ELF/Writer.cpp Fri Feb 26 10:49:54 2016
@@ -920,7 +920,7 @@ template <class ELFT> void Writer<ELFT>:
// 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())
More information about the llvm-commits
mailing list