[compiler-rt] r366432 - Relax regexp to detect failed interception by asan
Serge Guelton via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 18 06:13:29 PDT 2019
Author: serge_sans_paille
Date: Thu Jul 18 06:13:29 2019
New Revision: 366432
URL: http://llvm.org/viewvc/llvm-project?rev=366432&view=rev
Log:
Relax regexp to detect failed interception by asan
This should fix failed detection on aarch64/ppc64/thumbv8...
Modified:
compiler-rt/trunk/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c
Modified: compiler-rt/trunk/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c?rev=366432&r1=366431&r2=366432&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c Thu Jul 18 06:13:29 2019
@@ -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
More information about the llvm-commits
mailing list