[compiler-rt] d7986bf - scudo: fix thread-safety macro name
Dmitry Vyukov via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 7 09:28:19 PST 2022
Author: Dmitry Vyukov
Date: 2022-01-07T18:28:15+01:00
New Revision: d7986bf0111e972239b537d39a2e33e2d485daba
URL: https://github.com/llvm/llvm-project/commit/d7986bf0111e972239b537d39a2e33e2d485daba
DIFF: https://github.com/llvm/llvm-project/commit/d7986bf0111e972239b537d39a2e33e2d485daba.diff
LOG: scudo: fix thread-safety macro name
Missed in 765921de5b ("sanitizer_common: prefix thread-safety macros with SANITIZER_") update.
Differential Revision: https://reviews.llvm.org/D116818
Added:
Modified:
compiler-rt/lib/scudo/scudo_tsd_shared.inc
Removed:
################################################################################
diff --git a/compiler-rt/lib/scudo/scudo_tsd_shared.inc b/compiler-rt/lib/scudo/scudo_tsd_shared.inc
index e46b044a81f81..b25392a9630ef 100644
--- a/compiler-rt/lib/scudo/scudo_tsd_shared.inc
+++ b/compiler-rt/lib/scudo/scudo_tsd_shared.inc
@@ -42,7 +42,7 @@ ALWAYS_INLINE void initThreadMaybe(bool MinimalInit = false) {
ScudoTSD *getTSDAndLockSlow(ScudoTSD *TSD);
ALWAYS_INLINE ScudoTSD *
-getTSDAndLock(bool *UnlockRequired) NO_THREAD_SAFETY_ANALYSIS {
+getTSDAndLock(bool *UnlockRequired) SANITIZER_NO_THREAD_SAFETY_ANALYSIS {
ScudoTSD *TSD = getCurrentTSD();
DCHECK(TSD && "No TSD associated with the current thread!");
*UnlockRequired = true;
More information about the llvm-commits
mailing list