Skip to content

Commit

Permalink
scudo: fix thread-safety macro name
Browse files Browse the repository at this point in the history
Missed in 765921d ("sanitizer_common: prefix thread-safety macros with SANITIZER_") update.

Differential Revision: https://reviews.llvm.org/D116818
  • Loading branch information
dvyukov committed Jan 7, 2022
1 parent 117422c commit d7986bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-rt/lib/scudo/scudo_tsd_shared.inc
Expand Up @@ -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;
Expand Down

0 comments on commit d7986bf

Please sign in to comment.