| author | |
| committer | |
| log | 3b297f58f70c72fb57cdc46a681db4e99abd34b5 |
| tree | 7a1af2a368b10a363ab05830865b1877f0115907 |
| parent | ff9f3275dede031cdbea67272f648bb91c79c574 |
1 files changed, 3 insertions(+), 1 deletions(-)
src/codegen.cpp+3-1| ... | ... | @@ -7526,7 +7526,9 @@ static void do_code_gen(CodeGen *g) { |
| 7526 | 7526 | } |
| 7527 | 7527 | |
| 7528 | 7528 | char *error = nullptr; |
| 7529 | LLVMVerifyModule(g->module, LLVMAbortProcessAction, &error); | |
| 7529 | if (LLVMVerifyModule(g->module, LLVMReturnStatusAction, &error)) { | |
| 7530 | zig_panic("broken LLVM module found: %s", error); | |
| 7531 | } | |
| 7530 | 7532 | } |
| 7531 | 7533 | |
| 7532 | 7534 | static void zig_llvm_emit_output(CodeGen *g) { |