diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2018-05-21 20:16:41 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2018-05-21 20:16:41 +0000 |
commit | 9a45114b3cf80a2ffc6b86275da82d3ed91e081b (patch) | |
tree | b8bb197005a82e83c2073d3f058eefd7a401a8ba /llvm/lib/LTO/ThinLTOCodeGenerator.cpp | |
parent | 9b2df56c596b4929938c44e0eb3c54d89d2ba466 (diff) | |
download | bcm5719-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 'llvm/lib/LTO/ThinLTOCodeGenerator.cpp')
-rw-r--r-- | llvm/lib/LTO/ThinLTOCodeGenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/ThinLTOCodeGenerator.cpp b/llvm/lib/LTO/ThinLTOCodeGenerator.cpp index f164a034a0b..872b9232e34 100644 --- a/llvm/lib/LTO/ThinLTOCodeGenerator.cpp +++ b/llvm/lib/LTO/ThinLTOCodeGenerator.cpp @@ -268,7 +268,7 @@ std::unique_ptr<MemoryBuffer> codegenModule(Module &TheModule, PM.add(createObjCARCContractPass()); // Setup the codegen now. - if (TM.addPassesToEmitFile(PM, OS, TargetMachine::CGFT_ObjectFile, + if (TM.addPassesToEmitFile(PM, OS, nullptr, TargetMachine::CGFT_ObjectFile, /* DisableVerify */ true)) report_fatal_error("Failed to setup codegen"); |