[tsan] Add interceptor for pthread_cond_timedwait_relative_np
authorKuba Brecka <kuba.brecka@gmail.com>
Fri, 18 Mar 2016 10:54:11 +0000 (10:54 +0000)
committerKuba Brecka <kuba.brecka@gmail.com>
Fri, 18 Mar 2016 10:54:11 +0000 (10:54 +0000)
commit911e229f3085e55b28e0c27f1bc86c177ab30a53
treec2f3be4afbc34b7bf4391b94ea6b41aefb62394b
parent05f4c803bb9aafe16b487aa03fa78b3dbd8f3162
[tsan] Add interceptor for pthread_cond_timedwait_relative_np

On OS X, we have pthread_cond_timedwait_relative_np. TSan needs to intercept this API to avoid false positives when using condition variables.

Differential Revision: http://reviews.llvm.org/D18184

llvm-svn: 263782
compiler-rt/lib/tsan/rtl/tsan_interceptors.cc