summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp
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
commit7149ca04ad8cce1171ec99e78db40d4b84d655bd (patch)
treeca48ce03ace993b6f0ac69df50acc1ed0ee5ba90 /llvm/lib/DebugInfo/CodeView/CodeViewError.cpp
parent7016a1470246c3570edc65751ff471b7a5fea718 (diff)
downloadbcm5719-llvm-7149ca04ad8cce1171ec99e78db40d4b84d655bd.tar.gz
bcm5719-llvm-7149ca04ad8cce1171ec99e78db40d4b84d655bd.zip
[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 llvm-svn: 307212
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/CodeViewError.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud