Update to LLVM 10.

This commit is contained in:
Danila Fedorin 2020-04-26 21:24:24 -07:00
parent f97d3f913c
commit 5049b81536
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ void output_llvm(llvm_context& ctx, const std::string& filename) {
if (ec) {
throw 0;
} else {
llvm::TargetMachine::CodeGenFileType type = llvm::TargetMachine::CGFT_ObjectFile;
llvm::CodeGenFileType type = llvm::CGFT_ObjectFile;
llvm::legacy::PassManager pm;
if (targetMachine->addPassesToEmitFile(pm, file, NULL, type)) {
throw 0;