summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-02-26 16:49:54 +0000
committerRui Ueyama <ruiu@google.com>2016-02-26 16:49:54 +0000
commit68e15559b8c331a74f7b5a2a9b69b7b1d0d5bd48 (patch)
tree6b6bfdbfa8bbac69dd97a3f9a1834f4789981ffc
parent8fa3e4c3fbab6f429ff8490a2c9487afccd7db83 (diff)
downloadbcm5719-llvm-68e15559b8c331a74f7b5a2a9b69b7b1d0d5bd48.tar.gz
bcm5719-llvm-68e15559b8c331a74f7b5a2a9b69b7b1d0d5bd48.zip
Fix broken buildbots.
llvm-svn: 262034
-rw-r--r--lld/ELF/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp
index 343f3fcd4a7..661324bd1ce 100644
--- 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())
OpenPOWER on IntegriCloud