From 6a61bea4d652442e43d41253c60604cb37b98b7a Mon Sep 17 00:00:00 2001 From: Serge Guelton Date: Thu, 18 Jul 2019 13:13:29 +0000 Subject: [PATCH] Relax regexp to detect failed interception by asan This should fix failed detection on aarch64/ppc64/thumbv8... llvm-svn: 366432 --- compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 8bce907..d380fbf 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 @@ -2,7 +2,7 @@ // RUN: %clang_asan %s -o %t.out -ldl // RUN: ASAN_OPTIONS=verbosity=1 not %t.out %t.so 2>&1 | FileCheck %s // -// CHECK: AddressSanitizer: failed to intercept '__cxa_throw' +// CHECK: {{.*}}AddressSanitizer: failed to intercept '__cxa_{{.*}}throw{{.*}}' // // dlopen() can not be intercepted on Android // UNSUPPORTED: android -- 2.7.4