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
diff --git a/llvm/tools/llvm-as/llvm-as.cpp b/llvm/tools/llvm-as/llvm-as.cpp
index 003ae4d..406f3e3 100644
--- a/llvm/tools/llvm-as/llvm-as.cpp
+++ b/llvm/tools/llvm-as/llvm-as.cpp
@@ -57,7 +57,7 @@
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;