authorgravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2019-11-19 13:18:08+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-11-21 23:21:14-05:00
log0b63573674c76bd45f641774c16e0d4e96ee74fd
tree8212a8e6083525e7e5adcfc1ec9800d90da10f88
parent0e8a53514ebf5db00435b38c851f5fdc37ed4aa1
signaturelock-open Commit is signed but in an unrecognized format.

improve broken llvm module error message


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

src/codegen.cpp+1-1
...@@ -7725,7 +7725,7 @@ static void do_code_gen(CodeGen *g) {...@@ -7725,7 +7725,7 @@ static void do_code_gen(CodeGen *g) {
77257725
7726 char *error = nullptr;7726 char *error = nullptr;
7727 if (LLVMVerifyModule(g->module, LLVMReturnStatusAction, &error)) {7727 if (LLVMVerifyModule(g->module, LLVMReturnStatusAction, &error)) {
7728 zig_panic("broken LLVM module found: %s", error);7728 zig_panic("broken LLVM module found: %s\nThis is a bug in the Zig compiler.", error);
7729 }7729 }
7730}7730}
77317731