Totally disable assert, in order to fix PR101
llvm-svn: 9818
diff --git a/llvm/runtime/GCCLibraries/crtend/SJLJ-Exception.cpp b/llvm/runtime/GCCLibraries/crtend/SJLJ-Exception.cpp
index 8bc13e7..0221df1 100644
--- a/llvm/runtime/GCCLibraries/crtend/SJLJ-Exception.cpp
+++ b/llvm/runtime/GCCLibraries/crtend/SJLJ-Exception.cpp
@@ -9,6 +9,11 @@
#include <cstdlib>
#include <cassert>
+// Assert should only be used for debugging the runtime library. Enabling it in
+// CVS will break some platforms!
+#undef assert
+#define assert(X)
+
// get_sjlj_exception - Adjust the llvm_exception pointer to be an appropriate
// llvm_sjlj_exception pointer.
inline llvm_sjlj_exception *get_sjlj_exception(llvm_exception *E) {