Skip to content

Commit

Permalink
Add helpful message
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanTAllen committed Feb 23, 2022
1 parent ad740c1 commit 38e18c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libponyc/codegen/genopt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1446,6 +1446,8 @@ bool genopt(compile_t* c, bool pony_specific)
if(LLVMVerifyModule(c->module, LLVMPrintMessageAction, &msg) != 0)
{
errorf(errors, NULL, "Module verification failed: %s", msg);
errorf_continue(errors, NULL,
+ "Please file an issue ticket. Use --noverify to bypass this error.");
LLVMDisposeMessage(msg);
return false;
}
Expand Down

0 comments on commit 38e18c6

Please sign in to comment.