[compiler-rt] r307124 - fix trivial typos in comments; NFC

Hiroshi Inoue via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 4 22:43:31 PDT 2017


Author: inouehrs
Date: Tue Jul  4 22:43:31 2017
New Revision: 307124

URL: http://llvm.org/viewvc/llvm-project?rev=307124&view=rev
Log:
fix trivial typos in comments; NFC

Modified:
    compiler-rt/trunk/lib/asan/asan_posix.cc

Modified: compiler-rt/trunk/lib/asan/asan_posix.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_posix.cc?rev=307124&r1=307123&r2=307124&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_posix.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_posix.cc Tue Jul  4 22:43:31 2017
@@ -59,7 +59,7 @@ void AsanOnDeadlySignal(int signo, void
   //   lis r0,-10000
   //   stdux r1,r1,r0 # store sp to [sp-10000] and update sp by -10000
   // If the store faults then sp will not have been updated, so test above
-  // will not work, becase the fault address will be more than just "slightly"
+  // will not work, because the fault address will be more than just "slightly"
   // below sp.
   if (!IsStackAccess && IsAccessibleMemoryRange(sig.pc, 4)) {
     u32 inst = *(unsigned *)sig.pc;




More information about the llvm-commits mailing list