[ASan] Fix a couple of nits in NULL deref tests

This is a follow-up to r212807

llvm-svn: 212943
This commit is contained in:
Timur Iskhodzhanov 2014-07-14 14:26:35 +00:00
parent 082bf7f637
commit 9b8fa878ea
2 changed files with 3 additions and 3 deletions

View File

@ -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 // FIXME: merge this with the common null_deref test when we can run common
// tests on Windows. // tests on Windows.
@ -11,5 +11,5 @@ static void NullDeref(int *ptr) {
int main() { int main() {
NullDeref((int*)0); NullDeref((int*)0);
// CHECK: {{ #1 0x.* in main.*null_deref.cc:}}[[@LINE-1]] // CHECK: {{ #1 0x.* in main.*null_deref.cc:}}[[@LINE-1]]
// CHECK: {{AddressSanitizer can not provide additional info.}} // CHECK: AddressSanitizer can not provide additional info.
} }

View File

@ -15,5 +15,5 @@ static void NullDeref(int *ptr) {
int main() { int main() {
NullDeref((int*)0); NullDeref((int*)0);
// CHECK: {{ #1 0x.* in main.*null_deref.cc:}}[[@LINE-1]] // CHECK: {{ #1 0x.* in main.*null_deref.cc:}}[[@LINE-1]]
// CHECK: {{AddressSanitizer can not provide additional info.}} // CHECK: AddressSanitizer can not provide additional info.
} }