[compiler-rt] r220550 - [Tsan] Fix the signal_recursive.cc test to build on FreeBSD
Viktor Kutuzov
vkutuzov at accesssoftek.com
Fri Oct 24 02:20:22 PDT 2014
Author: vkutuzov
Date: Fri Oct 24 04:20:20 2014
New Revision: 220550
URL: http://llvm.org/viewvc/llvm-project?rev=220550&view=rev
Log:
[Tsan] Fix the signal_recursive.cc test to build on FreeBSD
Differential Revision: http://reviews.llvm.org/D5841
Modified:
compiler-rt/trunk/test/tsan/signal_recursive.cc
Modified: compiler-rt/trunk/test/tsan/signal_recursive.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/signal_recursive.cc?rev=220550&r1=220549&r2=220550&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/signal_recursive.cc (original)
+++ compiler-rt/trunk/test/tsan/signal_recursive.cc Fri Oct 24 04:20:20 2014
@@ -11,8 +11,8 @@
#include <stdlib.h>
#include <stdio.h>
-static const int kSigSuspend = SIGPWR;
-static const int kSigRestart = SIGXCPU;
+static const int kSigSuspend = SIGUSR1;
+static const int kSigRestart = SIGUSR2;
static sigset_t g_suspend_handler_mask;
static sem_t g_thread_suspend_ack_sem;
More information about the llvm-commits
mailing list