[llvm-commits] CVS: llvm/test/Programs/MultiSource/Olden-bh/defs.h

vadve at cs.uiuc.edu vadve at cs.uiuc.edu
Mon Sep 16 11:48:01 PDT 2002


Changes in directory llvm/test/Programs/MultiSource/Olden-bh:

defs.h updated: 1.2 -> 1.3

---
Log message:

Make assertions abort instead of exit.


---
Diffs of the changes:

Index: llvm/test/Programs/MultiSource/Olden-bh/defs.h
diff -u llvm/test/Programs/MultiSource/Olden-bh/defs.h:1.2 llvm/test/Programs/MultiSource/Olden-bh/defs.h:1.3
--- llvm/test/Programs/MultiSource/Olden-bh/defs.h:1.2	Mon Feb 18 11:03:35 2002
+++ llvm/test/Programs/MultiSource/Olden-bh/defs.h	Mon Sep 16 11:47:11 2002
@@ -231,7 +231,7 @@
 
 
 
-#define assert(b,n) if (!(b)) {chatting("Assertion Failure #%d", (n)); exit(0);}
+#define assert(b,n) if (!(b)) {chatting("Assertion Failure #%d", (n)); abort();}
 
 
 #define TASKLIMIT 256





More information about the llvm-commits mailing list