From 2d343521e21ece1d5296cd9b5a2086f982541c11 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 13 Jul 2004 08:45:41 +0000 Subject: [PATCH] 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 --- tools/llvm-as/llvm-as.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llvm-as/llvm-as.cpp b/tools/llvm-as/llvm-as.cpp index 003ae4d4f89..406f3e33399 100644 --- a/tools/llvm-as/llvm-as.cpp +++ b/tools/llvm-as/llvm-as.cpp @@ -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;