summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-as/llvm-as.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-13 08:45:41 +0000
committerChris Lattner <sabre@nondot.org>2004-07-13 08:45:41 +0000
commit2c1bc9e7e2c9153c3bade7f938c90991b2ca05dc (patch)
tree380e7064128ddaefa668d4f366884d8753f25f32 /llvm/tools/llvm-as/llvm-as.cpp
parentd25cad9f3814b58b1ff84da0b3d5ab734724f3e0 (diff)
downloadbcm5719-llvm-2c1bc9e7e2c9153c3bade7f938c90991b2ca05dc.tar.gz
bcm5719-llvm-2c1bc9e7e2c9153c3bade7f938c90991b2ca05dc.zip
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
Diffstat (limited to 'llvm/tools/llvm-as/llvm-as.cpp')
-rw-r--r--llvm/tools/llvm-as/llvm-as.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-as/llvm-as.cpp b/llvm/tools/llvm-as/llvm-as.cpp
index 003ae4d4f89..406f3e33399 100644
--- a/llvm/tools/llvm-as/llvm-as.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud