diff options
author | Timur Iskhodzhanov <timurrrr@google.com> | 2014-07-14 14:26:35 +0000 |
---|---|---|
committer | Timur Iskhodzhanov <timurrrr@google.com> | 2014-07-14 14:26:35 +0000 |
commit | 5c92560e050309321cbfc2d1825116a2ac91c516 (patch) | |
tree | 04acf42d643fe1d90d9b9e5f725fc049ae04812a | |
parent | a5c9e6790d373c6b355087d544a42ad63466211c (diff) | |
download | compiler-rt-5c92560e050309321cbfc2d1825116a2ac91c516.tar.gz |
[ASan] Fix a couple of nits in NULL deref tests
This is a follow-up to r212807
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@212943 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/asan/TestCases/Windows/null_deref.cc | 4 | ||||
-rw-r--r-- | test/asan/TestCases/null_deref.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/asan/TestCases/Windows/null_deref.cc b/test/asan/TestCases/Windows/null_deref.cc index 42172109d..202000f59 100644 --- a/test/asan/TestCases/Windows/null_deref.cc +++ b/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/test/asan/TestCases/null_deref.cc b/test/asan/TestCases/null_deref.cc index e80657f27..c6a52bab3 100644 --- a/test/asan/TestCases/null_deref.cc +++ b/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. } |