summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimur Iskhodzhanov <timurrrr@google.com>2014-07-14 14:26:35 +0000
committerTimur Iskhodzhanov <timurrrr@google.com>2014-07-14 14:26:35 +0000
commit9b8fa878ea8006ac3002d9b65624dc324fdd6368 (patch)
treef197d490620ab4bfd94855a842c62bf3ce607c4c
parent082bf7f637164086f5cf3135dc892f0ca5191b50 (diff)
downloadbcm5719-llvm-9b8fa878ea8006ac3002d9b65624dc324fdd6368.tar.gz
bcm5719-llvm-9b8fa878ea8006ac3002d9b65624dc324fdd6368.zip
[ASan] Fix a couple of nits in NULL deref tests
This is a follow-up to r212807 llvm-svn: 212943
-rw-r--r--compiler-rt/test/asan/TestCases/Windows/null_deref.cc4
-rw-r--r--compiler-rt/test/asan/TestCases/null_deref.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/asan/TestCases/Windows/null_deref.cc b/compiler-rt/test/asan/TestCases/Windows/null_deref.cc
index 42172109d25..202000f59db 100644
--- a/compiler-rt/test/asan/TestCases/Windows/null_deref.cc
+++ b/compiler-rt/test/asan/TestCases/Windows/null_deref.cc
@@ -1,4 +1,4 @@
-// RUN: %clangxx_asan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-%os --check-prefix=CHECK
+// RUN: %clangxx_asan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s
// FIXME: merge this with the common null_deref test when we can run common
// tests on Windows.
@@ -11,5 +11,5 @@ static void NullDeref(int *ptr) {
int main() {
NullDeref((int*)0);
// CHECK: {{ #1 0x.* in main.*null_deref.cc:}}[[@LINE-1]]
- // CHECK: {{AddressSanitizer can not provide additional info.}}
+ // CHECK: AddressSanitizer can not provide additional info.
}
diff --git a/compiler-rt/test/asan/TestCases/null_deref.cc b/compiler-rt/test/asan/TestCases/null_deref.cc
index e80657f2716..c6a52bab39e 100644
--- a/compiler-rt/test/asan/TestCases/null_deref.cc
+++ b/compiler-rt/test/asan/TestCases/null_deref.cc
@@ -15,5 +15,5 @@ static void NullDeref(int *ptr) {
int main() {
NullDeref((int*)0);
// CHECK: {{ #1 0x.* in main.*null_deref.cc:}}[[@LINE-1]]
- // CHECK: {{AddressSanitizer can not provide additional info.}}
+ // CHECK: AddressSanitizer can not provide additional info.
}
OpenPOWER on IntegriCloud