improve broken llvm module error message
This commit is contained in:
parent
0e8a53514e
commit
0b63573674
@ -7725,7 +7725,7 @@ static void do_code_gen(CodeGen *g) {
|
||||
|
||||
char *error = nullptr;
|
||||
if (LLVMVerifyModule(g->module, LLVMReturnStatusAction, &error)) {
|
||||
zig_panic("broken LLVM module found: %s", error);
|
||||
zig_panic("broken LLVM module found: %s\nThis is a bug in the Zig compiler.", error);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user