summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-05-31 13:24:01 +0000
committerRui Ueyama <ruiu@google.com>2018-05-31 13:24:01 +0000
commite37a5ce1489e54f4143d384b559107fe7eef9257 (patch)
tree6f326d15d5d5e347af1a16665d2e85aa048668ba
parent312cca50d044dabb0a45914106849c2b1fa68704 (diff)
downloadbcm5719-llvm-e37a5ce1489e54f4143d384b559107fe7eef9257.tar.gz
bcm5719-llvm-e37a5ce1489e54f4143d384b559107fe7eef9257.zip
Attempt to fix a buildbot.
Broken buildbot log: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/30855/steps/build/logs/stdio llvm-svn: 333648
-rw-r--r--lld/ELF/Driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Driver.cpp b/lld/ELF/Driver.cpp
index e6eba274e02..2e3a4252584 100644
--- a/lld/ELF/Driver.cpp
+++ b/lld/ELF/Driver.cpp
@@ -1021,7 +1021,7 @@ void LinkerDriver::createFiles(opt::InputArgList &Args) {
++InputFile::NextGroupId;
break;
case OPT_push_state:
- Stack.push_back({Config->AsNeeded, Config->Static, InWholeArchive});
+ Stack.emplace_back(Config->AsNeeded, Config->Static, InWholeArchive);
break;
case OPT_pop_state:
if (Stack.empty()) {
OpenPOWER on IntegriCloud