mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
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:
parent
96d249c97a
commit
2d343521e2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user