diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-03-11 15:45:20 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-03-11 15:45:20 +0000 |
commit | ce700979f644c790c2d9d80f5cc2a1ada0380284 (patch) | |
tree | d6976fafd76beffd00e29ec8005fa20377e51132 /lib/sanitizer_common/sanitizer_mutex.h | |
parent | c1b73e84db2f9f62633ee52b13cd1f83ef2fbe99 (diff) |
[Sanitizer] Implement BlockingMutex::CheckLocked()
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@176805 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_mutex.h')
-rw-r--r-- | lib/sanitizer_common/sanitizer_mutex.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_mutex.h b/lib/sanitizer_common/sanitizer_mutex.h index 56438fce4..be3d559b7 100644 --- a/lib/sanitizer_common/sanitizer_mutex.h +++ b/lib/sanitizer_common/sanitizer_mutex.h @@ -72,6 +72,7 @@ class BlockingMutex { explicit BlockingMutex(LinkerInitialized); void Lock(); void Unlock(); + void CheckLocked(); private: uptr opaque_storage_[10]; uptr owner_; // for debugging |