[llvm] e852725 - Support: Fix typo in comment

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 2 10:55:48 PDT 2024


Author: Matt Arsenault
Date: 2024-07-02T19:55:42+02:00
New Revision: e852725e5d517195de247f30b62ad2c56717958a

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

LOG: Support: Fix typo in comment

Added: 
    

Modified: 
    llvm/lib/Support/Unix/Signals.inc

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/Unix/Signals.inc b/llvm/lib/Support/Unix/Signals.inc
index 792b0fd66b45d..298fde1a387cc 100644
--- a/llvm/lib/Support/Unix/Signals.inc
+++ b/llvm/lib/Support/Unix/Signals.inc
@@ -289,7 +289,7 @@ static void CreateSigAltStack() {}
 static void RegisterHandlers() { // Not signal-safe.
   // The mutex prevents other threads from registering handlers while we're
   // doing it. We also have to protect the handlers and their count because
-  // a signal handler could fire while we're registeting handlers.
+  // a signal handler could fire while we're registering handlers.
   static ManagedStatic<sys::SmartMutex<true>> SignalHandlerRegistrationMutex;
   sys::SmartScopedLock<true> Guard(*SignalHandlerRegistrationMutex);
 


        


More information about the llvm-commits mailing list