From: Rui Ueyama Date: Sun, 17 Jul 2016 19:55:22 +0000 (+0000) Subject: Unbreak msan buildbot. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25a6d57b9c38e40e0397842fcea01d86a1c7edf4;p=platform%2Fupstream%2Fllvm.git Unbreak msan buildbot. llvm-svn: 275728 --- diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index 387bec3..60152fe 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -698,6 +698,8 @@ template void Writer::createSections() { std::vector CommonSymbols; for (Symbol *S : Symtab.getSymbols()) { SymbolBody *Body = S->body(); + if (Body->kind() == SymbolBody::PlaceholderKind) + continue; // We only report undefined symbols in regular objects. This means that we // will accept an undefined reference in bitcode if it can be optimized out.