| commit | 68e15559b8c331a74f7b5a2a9b69b7b1d0d5bd48 | [log] [tgz] |
|---|---|---|
| author | Rui Ueyama <ruiu@google.com> | Fri Feb 26 16:49:54 2016 +0000 |
| committer | Rui Ueyama <ruiu@google.com> | Fri Feb 26 16:49:54 2016 +0000 |
| tree | 6b6bfdbfa8bbac69dd97a3f9a1834f4789981ffc | |
| parent | 8fa3e4c3fbab6f429ff8490a2c9487afccd7db83 [diff] [blame] |
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 @@ // 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())