tsan: fix pthread_cond interceptors
commitcc91c67acb92458a64bfc06f5dbd8ac429636d6e
authorDmitry Vyukov <dvyukov@google.com>
Tue, 4 Mar 2014 11:11:40 +0000 (4 11:11 +0000)
committerDmitry Vyukov <dvyukov@google.com>
Tue, 4 Mar 2014 11:11:40 +0000 (4 11:11 +0000)
tree943ef05dd446236cf388f2ac168b21d64d3f6a4c
parentec496685dd7a67df5befde16db54841c9f8a735a
tsan: fix pthread_cond interceptors
currently tsan hangs when linked with a shared library linked against an old version of pthread
this change is another attempt to fix pthread_cond interceptors in different scenarios
see the comment for implementation details

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@202820 91177308-0d34-0410-b5e6-96231b3b80d8
lib/sanitizer_common/sanitizer_common_interceptors.inc