[lld] r333648 - Attempt to fix a buildbot.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Thu May 31 06:24:01 PDT 2018
Author: ruiu
Date: Thu May 31 06:24:01 2018
New Revision: 333648
URL: http://llvm.org/viewvc/llvm-project?rev=333648&view=rev
Log:
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
Modified:
lld/trunk/ELF/Driver.cpp
Modified: lld/trunk/ELF/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Driver.cpp?rev=333648&r1=333647&r2=333648&view=diff
==============================================================================
--- lld/trunk/ELF/Driver.cpp (original)
+++ lld/trunk/ELF/Driver.cpp Thu May 31 06:24:01 2018
@@ -1021,7 +1021,7 @@ void LinkerDriver::createFiles(opt::Inpu
++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()) {
More information about the llvm-commits
mailing list