commit | b462dfcaeb741547a26dc1fce37dbf9bf2aacbee | [log] [tgz] |
---|---|---|
author | Dmitry Vyukov <dvyukov@google.com> | Mon Jul 02 06:54:24 2012 +0000 |
committer | Dmitry Vyukov <dvyukov@google.com> | Mon Jul 02 06:54:24 2012 +0000 |
tree | 9d11a3f8203ea4e246069ed0434b97cc94c7caaf | |
parent | 6490bdcf7286e2e519621aa2be2cdab5caece1fe [diff] [blame] |
tsan/asan: add mutex to 64-bit allocator llvm-svn: 159516
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_mutex.h b/compiler-rt/lib/sanitizer_common/sanitizer_mutex.h index 8bb9d36..6cc86d3 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_mutex.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_mutex.h
@@ -79,6 +79,8 @@ void operator=(const GenericScopedReadLock&); }; +typedef GenericScopedLock<SpinMutex> SpinMutexLock; + } // namespace __sanitizer #endif // SANITIZER_MUTEX_H