[compiler-rt] fa17290 - [compiler-rt] Fix typo in DeadlockDetector (chanding->changing)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 10 12:52:04 PST 2021


Author: MarcoFalke
Date: 2021-11-10T21:51:47+01:00
New Revision: fa1729067c7464cae93c62d64fb988485200736b

URL: https://github.com/llvm/llvm-project/commit/fa1729067c7464cae93c62d64fb988485200736b
DIFF: https://github.com/llvm/llvm-project/commit/fa1729067c7464cae93c62d64fb988485200736b.diff

LOG: [compiler-rt] Fix typo in DeadlockDetector (chanding->changing)

Added: 
    

Modified: 
    compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector.h

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector.h b/compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector.h
index b80cff460edab..0749f633b4bcf 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<BV> *dtls, uptr node, u32 stk = 0) {
     if (!dtls->empty()) return false;


        


More information about the llvm-commits mailing list