[llvm-branch-commits] [llvm-branch] r116073 - /llvm/branches/Apple/whitney/lib/System/Unix/Signals.inc

Daniel Dunbar daniel at zuster.org
Fri Oct 8 11:40:25 PDT 2010


Author: ddunbar
Date: Fri Oct  8 13:40:25 2010
New Revision: 116073

URL: http://llvm.org/viewvc/llvm-project?rev=116073&view=rev
Log:
Merge r116072:
--
Author: Daniel Dunbar <daniel at zuster.org>
Date:   Fri Oct 8 18:31:34 2010 +0000

    CrashRecovery: Fix raise() override to actually send the right signal, *cough*.

Modified:
    llvm/branches/Apple/whitney/lib/System/Unix/Signals.inc

Modified: llvm/branches/Apple/whitney/lib/System/Unix/Signals.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/whitney/lib/System/Unix/Signals.inc?rev=116073&r1=116072&r2=116073&view=diff
==============================================================================
--- llvm/branches/Apple/whitney/lib/System/Unix/Signals.inc (original)
+++ llvm/branches/Apple/whitney/lib/System/Unix/Signals.inc Fri Oct  8 13:40:25 2010
@@ -275,7 +275,7 @@
 #ifdef __APPLE__
 
 int raise(int sig) {
-  return pthread_kill(pthread_self(), SIGABRT);
+  return pthread_kill(pthread_self(), sig);
 }
 
 void __assert_rtn(const char *func,





More information about the llvm-branch-commits mailing list