aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGen.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CodeGen/CodeGen.cc')
-rw-r--r--lib/CodeGen/CodeGen.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGen.cc b/lib/CodeGen/CodeGen.cc
index c0da7ee..f12c6ce 100644
--- a/lib/CodeGen/CodeGen.cc
+++ b/lib/CodeGen/CodeGen.cc
@@ -56,7 +56,7 @@ bool CodeGen::isBuiltinName(const std::string &Name) {
void CodeGen::reportError(const char *Fmt, ...) {
va_list Args;
va_start(Args, Fmt);
- fprintf(stderr, "Error: ");
+ fprintf(stderr, "error: ");
vfprintf(stderr, Fmt, Args);
fprintf(stderr, "\n");
va_end(Args);
@@ -536,6 +536,7 @@ void CodeGen::compile(const std::vector<std::unique_ptr<StmtAST>> &Statements) {
}
if (verifyModule(*TheModule, &errs())) {
+ errs() << "fatal error: LLVM module verification failed\n";
HadError = true;
}
}