diff options
Diffstat (limited to 'lib/asan/lit_tests/TestCases/null_deref.cc')
-rw-r--r-- | lib/asan/lit_tests/TestCases/null_deref.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asan/lit_tests/TestCases/null_deref.cc b/lib/asan/lit_tests/TestCases/null_deref.cc index 45296169..da0ca4be 100644 --- a/lib/asan/lit_tests/TestCases/null_deref.cc +++ b/lib/asan/lit_tests/TestCases/null_deref.cc @@ -11,7 +11,6 @@ __attribute__((noinline)) static void NullDeref(int *ptr) { // CHECK: ERROR: AddressSanitizer: SEGV on unknown address // CHECK: {{0x0*00028 .*pc 0x.*}} - // CHECK: {{AddressSanitizer can not provide additional info.}} ptr[10]++; // BOOM // atos on Mac cannot extract the symbol name correctly. // CHECK-Linux: {{ #0 0x.* in NullDeref.*null_deref.cc:}}[[@LINE-2]] @@ -20,4 +19,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.}} } |