aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2018-11-23 16:20:56 -0500
committerMatt Arsenault <arsenm2@gmail.com>2024-07-02 19:55:42 +0200
commite852725e5d517195de247f30b62ad2c56717958a (patch)
tree47d894a89d9b11236ebb83e9f7736714a73d3ae3
parentbf5a2a99b186216e4126dae3b16851f16c50603f (diff)
downloadllvm-e852725e5d517195de247f30b62ad2c56717958a.zip
llvm-e852725e5d517195de247f30b62ad2c56717958a.tar.gz
llvm-e852725e5d517195de247f30b62ad2c56717958a.tar.bz2
Support: Fix typo in comment
-rw-r--r--llvm/lib/Support/Unix/Signals.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Unix/Signals.inc b/llvm/lib/Support/Unix/Signals.inc
index 792b0fd..298fde1 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);