[compiler-rt] r241755 - [asan] relax the test case to allow either 'malloc' or '__interceptor_malloc' ; PR22681
Kostya Serebryany
kcc at google.com
Wed Jul 8 15:57:03 PDT 2015
Author: kcc
Date: Wed Jul 8 17:57:03 2015
New Revision: 241755
URL: http://llvm.org/viewvc/llvm-project?rev=241755&view=rev
Log:
[asan] relax the test case to allow either 'malloc' or '__interceptor_malloc' ; PR22681
Modified:
compiler-rt/trunk/test/asan/TestCases/Linux/stack-trace-dlclose.cc
Modified: compiler-rt/trunk/test/asan/TestCases/Linux/stack-trace-dlclose.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/stack-trace-dlclose.cc?rev=241755&r1=241754&r2=241755&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/stack-trace-dlclose.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/stack-trace-dlclose.cc Wed Jul 8 17:57:03 2015
@@ -40,6 +40,6 @@ int main(int argc, char **argv) {
}
#endif
-// CHECK: {{ #0 0x.* in malloc}}
+// CHECK: {{ #0 0x.* in (__interceptor_)?malloc}}
// CHECK: {{ #1 0x.* \(<unknown module>\)}}
// CHECK: {{ #2 0x.* in main}}
More information about the llvm-commits
mailing list