[cfe-commits] r109725 - /cfe/trunk/lib/Lex/Pragma.cpp

Daniel Dunbar daniel at zuster.org
Wed Jul 28 19:25:07 PDT 2010


Author: ddunbar
Date: Wed Jul 28 21:25:07 2010
New Revision: 109725

URL: http://llvm.org/viewvc/llvm-project?rev=109725&view=rev
Log:
Change #pragma crash to segv, instead of abort.

Modified:
    cfe/trunk/lib/Lex/Pragma.cpp

Modified: cfe/trunk/lib/Lex/Pragma.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/Pragma.cpp?rev=109725&r1=109724&r2=109725&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/Pragma.cpp (original)
+++ cfe/trunk/lib/Lex/Pragma.cpp Wed Jul 28 21:25:07 2010
@@ -605,7 +605,7 @@
   }
 
   void DebugCrash() {
-    abort();
+    *(int*) 0x11 = 0;
   }
 };
 





More information about the cfe-commits mailing list