[llvm-commits] CVS: llvm/tools/llvm-as/llvm-as.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Jul 13 01:45:51 PDT 2004



Changes in directory llvm/tools/llvm-as:

llvm-as.cpp updated: 1.30 -> 1.31

---
Log message:

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.



---
Diffs of the changes:  (+1 -1)

Index: llvm/tools/llvm-as/llvm-as.cpp
diff -u llvm/tools/llvm-as/llvm-as.cpp:1.30 llvm/tools/llvm-as/llvm-as.cpp:1.31
--- llvm/tools/llvm-as/llvm-as.cpp:1.30	Sun Jul 11 18:20:54 2004
+++ llvm/tools/llvm-as/llvm-as.cpp	Tue Jul 13 03:45:41 2004
@@ -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;





More information about the llvm-commits mailing list