[sanitizer] Intercept __pthread_mutex_lock and __pthread_mutex_unlock
authorVitaly Buka <vitalybuka@google.com>
Mon, 14 May 2018 18:03:34 +0000 (18:03 +0000)
committerVitaly Buka <vitalybuka@google.com>
Mon, 14 May 2018 18:03:34 +0000 (18:03 +0000)
commite5bd326822425dfaa68dd7b7091518168d2c32bc
treeac71b2950ab39195d18eccef03f5ba52b7a3f8a5
parent5e0feeae3405fc69d2be11608417d48d610e69f0
[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: 332268
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]