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 11// Check that without suppressions, we catch the issue.
22// 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
44
55// 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
88
99#include < stdio.h>
1010#include < stdlib.h>
You can’t perform that action at this time.
0 commit comments