aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-07-29 02:25:07 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-07-29 02:25:07 +0000
commitd7ac856be5a124cf3b7810d033fb34d3a39c0e2c (patch)
treeeb73d01c60fa944832f9e4006fac9d41c5a46cb2
parent44f0fd2804e9952a8dbf85bb60ee3501aa9f5ee7 (diff)
Change #pragma crash to segv, instead of abort.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109725 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Lex/Pragma.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/Pragma.cpp b/lib/Lex/Pragma.cpp
index 31d28f1e9c..3499ca0299 100644
--- a/lib/Lex/Pragma.cpp
+++ b/lib/Lex/Pragma.cpp
@@ -605,7 +605,7 @@ struct PragmaDebugHandler : public PragmaHandler {
}
void DebugCrash() {
- abort();
+ *(int*) 0x11 = 0;
}
};