summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerge Guelton <sguelton@redhat.com>2019-07-18 13:13:29 +0000
committerSerge Guelton <sguelton@redhat.com>2019-07-18 13:13:29 +0000
commit6a61bea4d652442e43d41253c60604cb37b98b7a (patch)
tree3adcfb55c4742463032e333f57da23ba517aa55e
parente6547859122ce590f85702c295e9f9cc1a80954b (diff)
downloadbcm5719-llvm-6a61bea4d652442e43d41253c60604cb37b98b7a.tar.gz
bcm5719-llvm-6a61bea4d652442e43d41253c60604cb37b98b7a.zip
Relax regexp to detect failed interception by asan
This should fix failed detection on aarch64/ppc64/thumbv8... llvm-svn: 366432
-rw-r--r--compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c2
1 files changed, 1 insertions, 1 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 8bce907ef2e..d380fbf726b 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
OpenPOWER on IntegriCloud