zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 0b63573674c76bd45f641774c16e0d4e96ee74fd (tree)
parent 0e8a53514ebf5db00435b38c851f5fdc37ed4aa1
Author: Vexu <15308111+Vexu@users.noreply.github.com>
Date:   Tue, 19 Nov 2019 13:18:08 +0200

improve broken llvm module error message

Diffstat:
Msrc/codegen.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/codegen.cpp b/src/codegen.cpp @@ -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); } }