s/testfile/output.ll

This commit is contained in:
Luna 2019-09-24 18:59:00 -03:00
parent 9e80ad4c23
commit bfe9f4fe0d
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ pub const Codegen = struct {
var err: ?[*]u8 = null;
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));
return CompileError.LLVMError;
}