summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2017-07-05 05:43:31 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2017-07-05 05:43:31 +0000
commitb69423cad409c8837d7dbf242b183c9938d0dd2c (patch)
tree6798fdec4d9ae66ea908303f2dbb5e3ffda0e3b2 /lib
parent3919408587ff646c2268da97a24fc3a9caba5910 (diff)
fix trivial typos in comments; NFC
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@307124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/asan/asan_posix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asan/asan_posix.cc b/lib/asan/asan_posix.cc
index 68fde9139..added746a 100644
--- a/lib/asan/asan_posix.cc
+++ b/lib/asan/asan_posix.cc
@@ -59,7 +59,7 @@ void AsanOnDeadlySignal(int signo, void *siginfo, void *context) {
// 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;