From 288fbb5ed91046ea89337f111e2b24a63460e664 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Fri, 10 Nov 2017 02:07:11 +0000 Subject: [sanitizer] Remove references and hide CommonSanitizerReportMutex git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@317865 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/sanitizer_common/sanitizer_common_libcdep.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/sanitizer_common/sanitizer_common_libcdep.cc') diff --git a/lib/sanitizer_common/sanitizer_common_libcdep.cc b/lib/sanitizer_common/sanitizer_common_libcdep.cc index 4048960a0..5cdfbbb27 100644 --- a/lib/sanitizer_common/sanitizer_common_libcdep.cc +++ b/lib/sanitizer_common/sanitizer_common_libcdep.cc @@ -299,6 +299,7 @@ void MaybeStartBackgroudThread() { } static atomic_uintptr_t reporting_thread = {0}; +static StaticSpinMutex CommonSanitizerReportMutex; ScopedErrorReportLock::ScopedErrorReportLock() { uptr current = GetThreadSelf(); -- cgit v1.2.3