From fa1729067c7464cae93c62d64fb988485200736b Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Wed, 10 Nov 2021 21:53:31 +0100 Subject: [PATCH] [compiler-rt] Fix typo in DeadlockDetector (chanding->changing) --- compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector.h b/compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector.h index b80cff460eda..0749f633b4bc 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector.h @@ -293,7 +293,7 @@ class DeadlockDetector { } // Returns true iff dtls is empty (no locks are currently held) and we can - // add the node to the currently held locks w/o chanding the global state. + // add the node to the currently held locks w/o changing the global state. // This operation is thread-safe as it only touches the dtls. bool onFirstLock(DeadlockDetectorTLS *dtls, uptr node, u32 stk = 0) { if (!dtls->empty()) return false; -- 2.34.1