mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 01:07:04 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user