[all-commits] [llvm/llvm-project] 56debb: sanitizers: switch BlockingMutex(LINKER_INITIALIZE...
Dmitry Vyukov via All-commits
all-commits at lists.llvm.org
Wed Jul 28 06:09:47 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 56debbf52ed31e0ea83265e0f87e15c3ac15de05
https://github.com/llvm/llvm-project/commit/56debbf52ed31e0ea83265e0f87e15c3ac15de05
Author: Dmitry Vyukov <dvyukov at google.com>
Date: 2021-07-28 (Wed, 28 Jul 2021)
Changed paths:
M compiler-rt/lib/asan/asan_globals.cpp
M compiler-rt/lib/asan/asan_report.cpp
M compiler-rt/lib/asan/asan_stats.cpp
M compiler-rt/lib/asan/asan_thread.cpp
M compiler-rt/lib/cfi/cfi.cpp
M compiler-rt/lib/lsan/lsan_common.cpp
M compiler-rt/lib/memprof/memprof_stats.cpp
M compiler-rt/lib/memprof/memprof_thread.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_coverage_fuchsia.cpp
M compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
M compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_registry_test.cpp
Log Message:
-----------
sanitizers: switch BlockingMutex(LINKER_INITIALIZED) to Mutex
Mutex does not support LINKER_INITIALIZED support.
As preparation to switching BlockingMutex to Mutex,
proactively replace all BlockingMutex(LINKER_INITIALIZED) to Mutex.
All of these are objects with static storage duration and Mutex ctor
is constexpr, so it should be equivalent.
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D106944
More information about the All-commits
mailing list