r332881 - CodeGen: Add a dwo output file argument to addPassesToEmitFile and hook it up to dwo output.
Peter Collingbourne via cfe-commits
cfe-commits at lists.llvm.org
Mon May 21 13:16:41 PDT 2018
Author: pcc
Date: Mon May 21 13:16:41 2018
New Revision: 332881
URL: http://llvm.org/viewvc/llvm-project?rev=332881&view=rev
Log:
CodeGen: Add a dwo output file argument to addPassesToEmitFile and hook it up to dwo output.
Part of PR37466.
Differential Revision: https://reviews.llvm.org/D47089
Modified:
cfe/trunk/lib/CodeGen/BackendUtil.cpp
Modified: cfe/trunk/lib/CodeGen/BackendUtil.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/BackendUtil.cpp?rev=332881&r1=332880&r2=332881&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/BackendUtil.cpp (original)
+++ cfe/trunk/lib/CodeGen/BackendUtil.cpp Mon May 21 13:16:41 2018
@@ -718,7 +718,7 @@ bool EmitAssemblyHelper::AddEmitPasses(l
if (CodeGenOpts.OptimizationLevel > 0)
CodeGenPasses.add(createObjCARCContractPass());
- if (TM->addPassesToEmitFile(CodeGenPasses, OS, CGFT,
+ if (TM->addPassesToEmitFile(CodeGenPasses, OS, nullptr, CGFT,
/*DisableVerify=*/!CodeGenOpts.VerifyModule)) {
Diags.Report(diag::err_fe_unable_to_interface_with_target);
return false;
More information about the cfe-commits
mailing list