summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-05-15 02:22:34 +0000
committerAlp Toker <alp@nuanti.com>2014-05-15 02:22:34 +0000
commitef90fb885deabc54ccc7fee7b72e4d6ea9321542 (patch)
treeac3588a58431f568370068aa0143744ed6e9a206 /test
parent6ff852fe1b49518b4f6419792c9381b43d3e1f7c (diff)
Fix typos
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/asan/TestCases/Darwin/interface_symbols_darwin.c2
-rw-r--r--test/asan/TestCases/Linux/interface_symbols_linux.c2
-rw-r--r--test/asan/TestCases/Linux/malloc-in-qsort.cc2
-rw-r--r--test/asan/TestCases/Linux/overflow-in-qsort.cc2
-rw-r--r--test/profile/instrprof-write-file-only.c2
-rw-r--r--test/tsan/allocator_returns_null.cc2
6 files changed, 6 insertions, 6 deletions
diff --git a/test/asan/TestCases/Darwin/interface_symbols_darwin.c b/test/asan/TestCases/Darwin/interface_symbols_darwin.c
index 03042d62a..ea3e796ea 100644
--- a/test/asan/TestCases/Darwin/interface_symbols_darwin.c
+++ b/test/asan/TestCases/Darwin/interface_symbols_darwin.c
@@ -1,4 +1,4 @@
-// Check the presense of interface symbols in the ASan runtime dylib.
+// Check the presence of interface symbols in the ASan runtime dylib.
// If you're changing this file, please also change
// ../Linux/interface_symbols.c
diff --git a/test/asan/TestCases/Linux/interface_symbols_linux.c b/test/asan/TestCases/Linux/interface_symbols_linux.c
index 4764ef7f0..d496d95a4 100644
--- a/test/asan/TestCases/Linux/interface_symbols_linux.c
+++ b/test/asan/TestCases/Linux/interface_symbols_linux.c
@@ -1,4 +1,4 @@
-// Check the presense of interface symbols in compiled file.
+// Check the presence of interface symbols in compiled file.
// RUN: %clang_asan -O2 %s -o %t.exe
// RUN: nm -D %t.exe | grep " T " | sed "s/.* T //" \
diff --git a/test/asan/TestCases/Linux/malloc-in-qsort.cc b/test/asan/TestCases/Linux/malloc-in-qsort.cc
index f589e06da..545bc7e42 100644
--- a/test/asan/TestCases/Linux/malloc-in-qsort.cc
+++ b/test/asan/TestCases/Linux/malloc-in-qsort.cc
@@ -6,7 +6,7 @@
// (i.e. if we can unwind through a function compiled w/o frame pointers).
// https://code.google.com/p/address-sanitizer/issues/detail?id=137
-// Fast unwinder is only avaliable on x86_64 and i386.
+// Fast unwinder is only available on x86_64 and i386.
// REQUIRES: x86_64-supported-target
// REQUIRES: compiler-rt-optimized
diff --git a/test/asan/TestCases/Linux/overflow-in-qsort.cc b/test/asan/TestCases/Linux/overflow-in-qsort.cc
index 27b0671c0..79b654e11 100644
--- a/test/asan/TestCases/Linux/overflow-in-qsort.cc
+++ b/test/asan/TestCases/Linux/overflow-in-qsort.cc
@@ -6,7 +6,7 @@
// (i.e. if we can unwind through a function compiled w/o frame pointers).
// https://code.google.com/p/address-sanitizer/issues/detail?id=137
-// Fast unwinder is only avaliable on x86_64 and i386.
+// Fast unwinder is only available on x86_64 and i386.
// REQUIRES: x86_64-supported-target
#include <stdlib.h>
diff --git a/test/profile/instrprof-write-file-only.c b/test/profile/instrprof-write-file-only.c
index b9a1be4c0..4ef0b0d8b 100644
--- a/test/profile/instrprof-write-file-only.c
+++ b/test/profile/instrprof-write-file-only.c
@@ -21,7 +21,7 @@ int main(int argc, const char *argv[]) {
}
int foo(int X) {
// There should be no profiling information for @foo, since it was called
- // after the profile was written (and the atexit was supressed by defining
+ // after the profile was written (and the atexit was suppressed by defining
// profile_runtime).
// CHECK-LABEL: define i32 @foo
// CHECK: br i1 %{{.*}}, label %{{.*}}, label %{{[^,]+$}}
diff --git a/test/tsan/allocator_returns_null.cc b/test/tsan/allocator_returns_null.cc
index 2058c961c..cde706bc8 100644
--- a/test/tsan/allocator_returns_null.cc
+++ b/test/tsan/allocator_returns_null.cc
@@ -1,5 +1,5 @@
// Test the behavior of malloc/calloc/realloc when the allocation size is huge.
-// By default (allocator_may_return_null=0) the process shoudl crash.
+// By default (allocator_may_return_null=0) the process should crash.
// With allocator_may_return_null=1 the allocator should return 0.
//
// RUN: %clangxx_tsan -O0 %s -o %t