[compiler-rt] 2b5f3f4 - [Sanitizer][NFC] Fix typo

Luís Marques via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 1 15:47:16 PST 2021


Author: Luís Marques
Date: 2021-03-01T23:47:03Z
New Revision: 2b5f3f446f36a68dfcee2fa23534044b491a2ad8

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

LOG: [Sanitizer][NFC] Fix typo

Added: 
    

Modified: 
    compiler-rt/lib/asan/asan_posix.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/asan/asan_posix.cpp b/compiler-rt/lib/asan/asan_posix.cpp
index d7f19d846544..63ad735f8bba 100644
--- a/compiler-rt/lib/asan/asan_posix.cpp
+++ b/compiler-rt/lib/asan/asan_posix.cpp
@@ -56,7 +56,7 @@ bool PlatformUnpoisonStacks() {
   if (signal_stack.ss_flags != SS_ONSTACK)
     return false;
 
-  // Since we're on the signal altnerate stack, we cannot find the DEFAULT
+  // Since we're on the signal alternate stack, we cannot find the DEFAULT
   // stack bottom using a local variable.
   uptr default_bottom, tls_addr, tls_size, stack_size;
   GetThreadStackAndTls(/*main=*/false, &default_bottom, &stack_size, &tls_addr,


        


More information about the llvm-commits mailing list