Relax regexp to detect failed interception by asan
authorSerge Guelton <sguelton@redhat.com>
Thu, 18 Jul 2019 13:13:29 +0000 (13:13 +0000)
committerSerge Guelton <sguelton@redhat.com>
Thu, 18 Jul 2019 13:13:29 +0000 (13:13 +0000)
This should fix failed detection on aarch64/ppc64/thumbv8...

llvm-svn: 366432

compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c

index 8bce907..d380fbf 100644 (file)
@@ -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