Skip to content

Commit 751ae26

Browse files
committed
[asan][android] XFAIL suppressions-alloc-dealloc-mismatch
Android is missing suppression file on device. Follow up to llvm#124197.
1 parent 6c3bf34 commit 751ae26

File tree

5 files changed

+7
-0
lines changed

5 files changed

+7
-0
lines changed

compiler-rt/test/asan/TestCases/suppressions-alloc-dealloc-mismatch.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
// 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
77
// 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

9+
// FIXME: Upload suppressions to device.
10+
// XFAIL: android
11+
912
#include <stdio.h>
1013
#include <stdlib.h>
1114
#include <string.h>

compiler-rt/test/asan/TestCases/suppressions-exec-relative-location.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
// RUN: %env_asan_opts=suppressions='"folder/only/"' not %run %t 2>&1 | \
2424
// RUN: FileCheck --check-prefix=CHECK-WRONG-FILE-NAME %s
2525

26+
// FIXME: Upload suppressions to device.
2627
// XFAIL: android
2728
// UNSUPPORTED: ios
2829

compiler-rt/test/asan/TestCases/suppressions-function.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// RUN: %clangxx_asan -O0 %s -o %t && %env_asan_opts=suppressions='"%t.supp"' %run %t 2>&1 | FileCheck --check-prefix=CHECK-IGNORE %s
77
// RUN: %clangxx_asan -O3 %s -o %t && %env_asan_opts=suppressions='"%t.supp"' %run %t 2>&1 | FileCheck --check-prefix=CHECK-IGNORE %s
88

9+
// FIXME: Upload suppressions to device.
910
// XFAIL: android
1011
// UNSUPPORTED: ios
1112

compiler-rt/test/asan/TestCases/suppressions-interceptor.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// RUN: echo "interceptor_name:strlen" > %t.supp
66
// RUN: %env_asan_opts=suppressions='"%t.supp"' %run %t 2>&1 | FileCheck --check-prefix=CHECK-IGNORE %s
77

8+
// FIXME: Upload suppressions to device.
89
// XFAIL: android
910

1011
#include <stdio.h>

compiler-rt/test/asan/TestCases/suppressions-library.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// RUN: echo "interceptor_via_lib:"%xdynamiclib_filename > %t.supp
1010
// RUN: %env_asan_opts=suppressions='"%t.supp"' %run %t 2>&1 | FileCheck --check-prefix=CHECK-IGNORE %s
1111

12+
// FIXME: Upload suppressions to device.
1213
// XFAIL: android
1314

1415
#include <stdio.h>

0 commit comments

Comments
 (0)