diff options
Diffstat (limited to 'compiler-rt/lib/tsan/rtl-old/tsan_mman.cpp')
-rw-r--r-- | compiler-rt/lib/tsan/rtl-old/tsan_mman.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/tsan/rtl-old/tsan_mman.cpp b/compiler-rt/lib/tsan/rtl-old/tsan_mman.cpp index 75044c38d5d2..86a3dcd332b2 100644 --- a/compiler-rt/lib/tsan/rtl-old/tsan_mman.cpp +++ b/compiler-rt/lib/tsan/rtl-old/tsan_mman.cpp @@ -124,13 +124,13 @@ ScopedGlobalProcessor::~ScopedGlobalProcessor() { gp->mtx.Unlock(); } -void AllocatorLock() NO_THREAD_SAFETY_ANALYSIS { +void AllocatorLock() SANITIZER_NO_THREAD_SAFETY_ANALYSIS { global_proc()->mtx.Lock(); global_proc()->internal_alloc_mtx.Lock(); InternalAllocatorLock(); } -void AllocatorUnlock() NO_THREAD_SAFETY_ANALYSIS { +void AllocatorUnlock() SANITIZER_NO_THREAD_SAFETY_ANALYSIS { InternalAllocatorUnlock(); global_proc()->internal_alloc_mtx.Unlock(); global_proc()->mtx.Unlock(); |