Skip to content

Commit d7986bf

Browse files
committed
scudo: fix thread-safety macro name
Missed in 765921d ("sanitizer_common: prefix thread-safety macros with SANITIZER_") update. Differential Revision: https://reviews.llvm.org/D116818
1 parent 117422c commit d7986bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/scudo/scudo_tsd_shared.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ ALWAYS_INLINE void initThreadMaybe(bool MinimalInit = false) {
4242
ScudoTSD *getTSDAndLockSlow(ScudoTSD *TSD);
4343

4444
ALWAYS_INLINE ScudoTSD *
45-
getTSDAndLock(bool *UnlockRequired) NO_THREAD_SAFETY_ANALYSIS {
45+
getTSDAndLock(bool *UnlockRequired) SANITIZER_NO_THREAD_SAFETY_ANALYSIS {
4646
ScudoTSD *TSD = getCurrentTSD();
4747
DCHECK(TSD && "No TSD associated with the current thread!");
4848
*UnlockRequired = true;

0 commit comments

Comments
 (0)