aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-11-21 23:24:58 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-11-21 23:25:02 -0500
commitad0871ea4bf2dfbed07282ffe14738b5347d5d32 (patch)
tree17497337d26c37cf2bbc7d68d2813c22fea5c661 /src/codegen.cpp
parent94299d16d1443cd8b731e2eba9b4d1e3fb8048bd (diff)
parent4e6c1b676b30920fb333a6aa270bb42dc4cecc79 (diff)
downloadzig-ad0871ea4bf2dfbed07282ffe14738b5347d5d32.tar.gz
zig-ad0871ea4bf2dfbed07282ffe14738b5347d5d32.zip
Merge branch 'Vexu-missing-cast'
Closes #3336 Closes #3718
Diffstat (limited to 'src/codegen.cpp')
-rw-r--r--src/codegen.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}