Update to LLVM 10.
This commit is contained in:
parent
f97d3f913c
commit
5049b81536
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user