[PATCH] [Tsan] Fix the signal_recursive.cc test to build on FreeBSD
Ed Maste
emaste at freebsd.org
Fri Oct 17 06:39:07 PDT 2014
================
Comment at: test/tsan/signal_recursive.cc:14-18
@@ -13,3 +13,7 @@
+#if defined(__FreeBSD__)
+static const int kSigSuspend = SIGINFO;
+#else
static const int kSigSuspend = SIGPWR;
+#endif
static const int kSigRestart = SIGXCPU;
----------------
Is the specific signal of interest here, or do we just need two arbitrary signals? If the latter, can we just use `SIGUSR1` instead?
http://reviews.llvm.org/D5841
More information about the llvm-commits
mailing list