summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2018-05-21 20:16:41 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2018-05-21 20:16:41 +0000
commit9a45114b3cf80a2ffc6b86275da82d3ed91e081b (patch)
treeb8bb197005a82e83c2073d3f058eefd7a401a8ba /clang/lib
parent9b2df56c596b4929938c44e0eb3c54d89d2ba466 (diff)
downloadbcm5719-llvm-9a45114b3cf80a2ffc6b86275da82d3ed91e081b.tar.gz
bcm5719-llvm-9a45114b3cf80a2ffc6b86275da82d3ed91e081b.zip
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 llvm-svn: 332881
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/CodeGen/BackendUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp
index 019010925b1..2ed06cd7086 100644
--- a/clang/lib/CodeGen/BackendUtil.cpp
+++ b/clang/lib/CodeGen/BackendUtil.cpp
@@ -718,7 +718,7 @@ bool EmitAssemblyHelper::AddEmitPasses(legacy::PassManager &CodeGenPasses,
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;
OpenPOWER on IntegriCloud