[compiler-rt] r261121 - [tsan] Fix signal number definitions for FreeBSD
Ed Maste via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 17 10:25:28 PST 2016
Author: emaste
Date: Wed Feb 17 12:25:27 2016
New Revision: 261121
URL: http://llvm.org/viewvc/llvm-project?rev=261121&view=rev
Log:
[tsan] Fix signal number definitions for FreeBSD
The change in r253983 for OS X also applies to FreeBSD.
Modified:
compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc?rev=261121&r1=261120&r2=261121&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc Wed Feb 17 12:25:27 2016
@@ -138,7 +138,7 @@ const int SIGFPE = 8;
const int SIGSEGV = 11;
const int SIGPIPE = 13;
const int SIGTERM = 15;
-#if defined(__mips__) || SANITIZER_MAC
+#if defined(__mips__) || SANITIZER_FREEBSD || SANITIZER_MAC
const int SIGBUS = 10;
const int SIGSYS = 12;
#else
More information about the llvm-commits
mailing list