File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler-rt/test/asan/TestCases Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
// Check that without suppressions, we catch the issue.
2
2
// RUN: %clangxx_asan -O0 %s -o %t
3
- // RUN: not %run %t 2>&1 | FileCheck --check-prefix=CHECK-CRASH %s
3
+ // RUN: %env_asan_opts=alloc_dealloc_mismatch=1 not %run %t 2>&1 | FileCheck --check-prefix=CHECK-CRASH %s
4
4
5
5
// RUN: echo "alloc_dealloc_mismatch:function" > %t.supp
6
- // RUN: %clangxx_asan -O0 %s -o %t && %env_asan_opts=suppressions='"%t.supp"' %run %t 2>&1 | FileCheck --check-prefix=CHECK-IGNORE %s
7
- // RUN: %clangxx_asan -O3 %s -o %t && %env_asan_opts=suppressions='"%t.supp"' %run %t 2>&1 | FileCheck --check-prefix=CHECK-IGNORE %s
6
+ // RUN: %clangxx_asan -O0 %s -o %t && %env_asan_opts=alloc_dealloc_mismatch=1: suppressions='"%t.supp"' %run %t 2>&1 | FileCheck --check-prefix=CHECK-IGNORE %s
7
+ // RUN: %clangxx_asan -O3 %s -o %t && %env_asan_opts=alloc_dealloc_mismatch=1: suppressions='"%t.supp"' %run %t 2>&1 | FileCheck --check-prefix=CHECK-IGNORE %s
8
8
9
9
#include < stdio.h>
10
10
#include < stdlib.h>
You can’t perform that action at this time.
0 commit comments