s/testfile/output.ll
This commit is contained in:
parent
9e80ad4c23
commit
bfe9f4fe0d
|
@ -277,7 +277,7 @@ pub const Codegen = struct {
|
||||||
var err: ?[*]u8 = null;
|
var err: ?[*]u8 = null;
|
||||||
defer llvm.LLVMDisposeMessage(err);
|
defer llvm.LLVMDisposeMessage(err);
|
||||||
|
|
||||||
if (llvm.LLVMPrintModuleToFile(mod, c"testfile", &err) != 0) {
|
if (llvm.LLVMPrintModuleToFile(mod, c"output.ll", &err) != 0) {
|
||||||
std.debug.warn("error printing module to file: {}\n", sliceify(err));
|
std.debug.warn("error printing module to file: {}\n", sliceify(err));
|
||||||
return CompileError.LLVMError;
|
return CompileError.LLVMError;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue