From ec2a7c463e603e79623108daf1d3f3cf9c67a352 Mon Sep 17 00:00:00 2001 From: Serge Guelton Date: Thu, 18 Jul 2019 13:47:28 +0000 Subject: [PATCH] Restrict asan + dlopen testcase to x86 llvm-svn: 366436 --- compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c b/compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c index d380fbf726b0..979f79e040e2 100644 --- a/compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c +++ b/compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c @@ -4,8 +4,8 @@ // // CHECK: {{.*}}AddressSanitizer: failed to intercept '__cxa_{{.*}}throw{{.*}}' // -// dlopen() can not be intercepted on Android -// UNSUPPORTED: android +// REQUIRES: x86-target-arch && !android + #ifdef __cplusplus static void foo(void) {