[PATCH] D14987: [tsan] Add interceptors for Darwin-specific locking APIs

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 25 07:54:31 PST 2015


kubabrecka created this revision.
kubabrecka added reviewers: dvyukov, kcc, glider, samsonov.
kubabrecka added subscribers: llvm-commits, zaks.anna, ismailp.

On OS X, there are other-than-pthread locking APIs that are used quite extensively - OSSpinLock and os_lock_lock.  Let's add interceptors for those.

http://reviews.llvm.org/D14987

Files:
  lib/tsan/rtl/tsan_platform_mac.cc
  test/tsan/Darwin/osspinlock-norace.cc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14987.41143.patch
Type: text/x-patch
Size: 3375 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151125/d9f412ce/attachment.bin>


More information about the llvm-commits mailing list