[sanitizer] Intercept __pthread_mutex_lock and __pthread_mutex_unlock
authorVitaly Buka <vitalybuka@google.com>
Tue, 15 May 2018 01:39:25 +0000 (01:39 +0000)
committerVitaly Buka <vitalybuka@google.com>
Tue, 15 May 2018 01:39:25 +0000 (01:39 +0000)
commit75e01fa00bed2344ab00eeebbc5e92251fae585f
tree8368361b0bcc8839a615fc22435f4c2894b5239d
parent3f1fd7988cc084a8fa42736e1a1b1dd127678907
[sanitizer] Intercept __pthread_mutex_lock and __pthread_mutex_unlock

Reviewers: eugenis, dvyukov

Subscribers: srhines, kubamracek, llvm-commits

Differential Revision: https://reviews.llvm.org/D46793

llvm-svn: 332320
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
compiler-rt/test/sanitizer_common/TestCases/Linux/pthread_mutex.cc [new file with mode: 0644]