diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2012-08-30 13:02:30 +0000 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2012-08-30 13:02:30 +0000 |
| commit | 191f2f7cdbd4133649d01975cf0d4c7010f65652 (patch) | |
| tree | e51a11c35b5290788a0d1c84059f6c11db1dc9c3 /compiler-rt/lib/tsan/rtl/tsan_mutex.h | |
| parent | cd95b773305c743eb44430a530481e1577bf67ac (diff) | |
| download | bcm5719-llvm-191f2f7cdbd4133649d01975cf0d4c7010f65652.tar.gz bcm5719-llvm-191f2f7cdbd4133649d01975cf0d4c7010f65652.zip | |
tsan: use stack depot to describe heap blocks
llvm-svn: 162902
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_mutex.h')
| -rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_mutex.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_mutex.h b/compiler-rt/lib/tsan/rtl/tsan_mutex.h index 5b22a414518..eb63aaf3fdf 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_mutex.h +++ b/compiler-rt/lib/tsan/rtl/tsan_mutex.h @@ -45,6 +45,8 @@ class Mutex { void ReadLock(); void ReadUnlock(); + void CheckLocked(); + private: atomic_uintptr_t state_; #if TSAN_DEBUG |

