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