LTO: Adjust to LLVM r247735

Perhaps lld wants to disable the verifier sometimes during COFF LTO, but
for now just match behaviour from before r247735.

llvm-svn: 247736
This commit is contained in:
Duncan P. N. Exon Smith
2015-09-15 23:06:16 +00:00
parent cff5feff6f
commit a11f81973a

View File

@@ -411,7 +411,7 @@ std::vector<ObjectFile *> SymbolTable::createLTOObjects(LTOCodeGenerator *CG) {
CG->addModule(BitcodeFiles[I]->getModule());
std::string ErrMsg;
if (!CG->optimize(false, false, false, ErrMsg))
if (!CG->optimize(false, false, false, false, ErrMsg))
error(ErrMsg);
Objs.resize(Config->LTOJobs);