summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-05-26 18:07:25 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-05-26 18:07:25 +0000
commit1ef2e237bf93f7088944499ada80f8dc55689915 (patch)
tree55239ff3101237e69237e1cb4ec85e3a6fdf976d
parent6a2431df0b4e448c06836217cbd53103ccb903a5 (diff)
downloadbcm5719-llvm-1ef2e237bf93f7088944499ada80f8dc55689915.tar.gz
bcm5719-llvm-1ef2e237bf93f7088944499ada80f8dc55689915.zip
[ELF] - Attemp to fix bot
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/8549/steps/build_Lld/logs/stdio llvm-svn: 304016
-rw-r--r--lld/ELF/SyntheticSections.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp
index 312f0ff87fb..ba2d437dd4a 100644
--- a/lld/ELF/SyntheticSections.cpp
+++ b/lld/ELF/SyntheticSections.cpp
@@ -1778,7 +1778,7 @@ void GdbIndexSection::readDwarf(InputSection *Sec) {
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);
OpenPOWER on IntegriCloud