[compiler-rt] r212943 - [ASan] Fix a couple of nits in NULL deref tests
Timur Iskhodzhanov
timurrrr at google.com
Mon Jul 14 07:26:36 PDT 2014
Author: timurrrr
Date: Mon Jul 14 09:26:35 2014
New Revision: 212943
URL: http://llvm.org/viewvc/llvm-project?rev=212943&view=rev
Log:
[ASan] Fix a couple of nits in NULL deref tests
This is a follow-up to r212807
Modified:
compiler-rt/trunk/test/asan/TestCases/Windows/null_deref.cc
compiler-rt/trunk/test/asan/TestCases/null_deref.cc
Modified: compiler-rt/trunk/test/asan/TestCases/Windows/null_deref.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Windows/null_deref.cc?rev=212943&r1=212942&r2=212943&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Windows/null_deref.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Windows/null_deref.cc Mon Jul 14 09:26:35 2014
@@ -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.
}
Modified: compiler-rt/trunk/test/asan/TestCases/null_deref.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/null_deref.cc?rev=212943&r1=212942&r2=212943&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/null_deref.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/null_deref.cc Mon Jul 14 09:26:35 2014
@@ -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.
}
More information about the llvm-commits
mailing list