[PATCH] D14946: [tsan] Fix signal number definitions for OS X

Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 24 05:47:41 PST 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL253983: [tsan] Fix signal number definitions for OS X (authored by kuba.brecka).

Changed prior to commit:
  http://reviews.llvm.org/D14946?vs=41025&id=41034#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D14946

Files:
  compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc

Index: compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc
===================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc
@@ -124,7 +124,7 @@
 const int SIGSEGV = 11;
 const int SIGPIPE = 13;
 const int SIGTERM = 15;
-#ifdef __mips__
+#if defined(__mips__) || SANITIZER_MAC
 const int SIGBUS = 10;
 const int SIGSYS = 12;
 #else


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14946.41034.patch
Type: text/x-patch
Size: 446 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151124/c22e5788/attachment.bin>


More information about the llvm-commits mailing list