There is no reason to abort and print a stack trace if there is a verification

error.  Just print the message like a good little tool.

llvm-svn: 14793
This commit is contained in:
Chris Lattner 2004-07-13 08:45:41 +00:00
parent d25cad9f38
commit 2c1bc9e7e2
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ int main(int argc, char **argv) {
return 1;
}
if (!DisableVerify && verifyModule(*M.get())) {
if (!DisableVerify && verifyModule(*M.get(), PrintMessageAction)) {
std::cerr << argv[0]
<< ": assembly parsed, but does not verify as correct!\n";
return 1;