[lld] r304016 - [ELF] - Attemp to fix bot
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Fri May 26 11:07:25 PDT 2017
Author: grimar
Date: Fri May 26 13:07:25 2017
New Revision: 304016
URL: http://llvm.org/viewvc/llvm-project?rev=304016&view=rev
Log:
[ELF] - Attemp to fix bot
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/8549/steps/build_Lld/logs/stdio
Modified:
lld/trunk/ELF/SyntheticSections.cpp
Modified: lld/trunk/ELF/SyntheticSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SyntheticSections.cpp?rev=304016&r1=304015&r2=304016&view=diff
==============================================================================
--- lld/trunk/ELF/SyntheticSections.cpp (original)
+++ lld/trunk/ELF/SyntheticSections.cpp Fri May 26 13:07:25 2017
@@ -1778,7 +1778,7 @@ void GdbIndexSection::readDwarf(InputSec
std::tie(IsNew, Sym) = SymbolTable.add(Hash, Offset);
if (IsNew) {
Sym->CuVectorIndex = CuVectors.size();
- CuVectors.push_back({});
+ CuVectors.resize(CuVectors.size() + 1);
}
CuVectors[Sym->CuVectorIndex].insert((Pair.second << 24) | (uint32_t)CuId);
More information about the llvm-commits
mailing list