[lld] r247736 - LTO: Adjust to LLVM r247735

Duncan P. N. Exon Smith via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 16:06:16 PDT 2015


Author: dexonsmith
Date: Tue Sep 15 18:06:16 2015
New Revision: 247736

URL: http://llvm.org/viewvc/llvm-project?rev=247736&view=rev
Log:
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.

Modified:
    lld/trunk/COFF/SymbolTable.cpp

Modified: lld/trunk/COFF/SymbolTable.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/SymbolTable.cpp?rev=247736&r1=247735&r2=247736&view=diff
==============================================================================
--- lld/trunk/COFF/SymbolTable.cpp (original)
+++ lld/trunk/COFF/SymbolTable.cpp Tue Sep 15 18:06:16 2015
@@ -411,7 +411,7 @@ std::vector<ObjectFile *> SymbolTable::c
     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);




More information about the llvm-commits mailing list