summaryrefslogtreecommitdiff
path: root/lib/hwasan/hwasan_interceptors.cc
diff options
context:
space:
mode:
authorKostya Kortchinsky <kostyak@google.com>2018-08-20 14:57:58 +0000
committerKostya Kortchinsky <kostyak@google.com>2018-08-20 14:57:58 +0000
commit8e6fd7f354be438fa1d105a1b3e3c3f3f24cb710 (patch)
tree8f78d77b478dc2ce935d20e9e5b60e70519e125c /lib/hwasan/hwasan_interceptors.cc
parentc3f0055898e2686b55c5964f4325ee52d48d4b91 (diff)
downloadcompiler-rt-8e6fd7f354be438fa1d105a1b3e3c3f3f24cb710.tar.gz
[sanitizer] Use private futex operations for BlockingMutex
Summary: Use `FUTEX_PRIVATE_FLAG` in conjunction with the wait & wake operations employed by `BlockingMutex`. As far as I can tell, the mutexes are process-private, and there is an actual performance benefit at employing the private operations. There should be no downside to switching to it. Reviewers: eugenis, alekseyshl, dvyukov Reviewed By: dvyukov Subscribers: kubamracek, delcypher, #sanitizers, llvm-commits Differential Revision: https://reviews.llvm.org/D50910 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@340178 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/hwasan/hwasan_interceptors.cc')
0 files changed, 0 insertions, 0 deletions