authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-09-05 10:28:08-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2018-09-05 10:28:08-04:00
log3e94650ef7bd2407fb0aca11ad19a93b90a14b7c
tree496469e4be7f30570f4908529c419f5e5ce349b1
parent9a123697e30a15a178767d7bb9237528044c129d
signaturelock-open Commit is signed but in an unrecognized format.

stage1: fix emit asm with explicit output file

closes #1473

1 files changed, 2 insertions(+), 0 deletions(-)

src/codegen.cpp+2
......@@ -6121,6 +6121,7 @@ static void do_code_gen(CodeGen *g) {
61216121 zig_panic("unable to write assembly file %s: %s", buf_ptr(output_path), err_msg);
61226122 }
61236123 validate_inline_fns(g);
6124 g->link_objects.append(output_path);
61246125 break;
61256126
61266127 case EmitFileTypeLLVMIr:
......@@ -6130,6 +6131,7 @@ static void do_code_gen(CodeGen *g) {
61306131 zig_panic("unable to write llvm-ir file %s: %s", buf_ptr(output_path), err_msg);
61316132 }
61326133 validate_inline_fns(g);
6134 g->link_objects.append(output_path);
61336135 break;
61346136
61356137 default: