summaryrefslogtreecommitdiff
path: root/lib/msan/msan_interceptors.cc
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2017-07-05 22:17:44 +0000
committerKuba Mracek <mracek@apple.com>2017-07-05 22:17:44 +0000
commitf863c64e6e6ec4b46420bd546dea312c0bb3e2f5 (patch)
tree8ed16283330773501caa7b1e5ca60eecd2a8cb6a /lib/msan/msan_interceptors.cc
parentf339952e6e43368ab0f4783bc330a4e5240a4024 (diff)
[tsan] Use pthread_sigmask instead of sigprocmask to block signals in a thread on Darwin
On Darwin, sigprocmask changes the signal mask for the entire process. This has some unwanted consequences, because e.g. internal_start_thread wants to disable signals only in the current thread (to make the new thread inherit the signal mask), which is currently broken on Darwin. This patch switches to pthread_sigmask. Differential Revision: https://reviews.llvm.org/D35016 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@307212 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/msan_interceptors.cc')
0 files changed, 0 insertions, 0 deletions