summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_mutex.h
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-03-11 15:45:20 +0000
committerAlexey Samsonov <samsonov@google.com>2013-03-11 15:45:20 +0000
commitce700979f644c790c2d9d80f5cc2a1ada0380284 (patch)
treed6976fafd76beffd00e29ec8005fa20377e51132 /lib/sanitizer_common/sanitizer_mutex.h
parentc1b73e84db2f9f62633ee52b13cd1f83ef2fbe99 (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.h1
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