From 00250a6650e13348769d08ca4a6362fd3ea8edba Mon Sep 17 00:00:00 2001 From: Francis Visoiu Mistrih Date: Wed, 31 May 2023 11:32:13 -0700 Subject: [PATCH] [Darwin] Fix ASAN symbolizer tests RenderFrame now strips `wrap_`. --- compiler-rt/test/asan/TestCases/Darwin/dladdr-demangling.cpp | 4 ++-- compiler-rt/test/asan/TestCases/Darwin/sandbox-symbolizer.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/compiler-rt/test/asan/TestCases/Darwin/dladdr-demangling.cpp b/compiler-rt/test/asan/TestCases/Darwin/dladdr-demangling.cpp index 19e43f4..617e57f 100644 --- a/compiler-rt/test/asan/TestCases/Darwin/dladdr-demangling.cpp +++ b/compiler-rt/test/asan/TestCases/Darwin/dladdr-demangling.cpp @@ -22,10 +22,10 @@ class MyClass { // CHECK-DLADDR: failed to spawn external symbolizer // CHECK: {{ #0 0x.* in MyClass::my_function\(int\)}} // CHECK: {{freed by thread T0 here:}} - // CHECK: {{ #0 0x.* in wrap_free}} + // CHECK: {{ #0 0x.* in free}} // CHECK: {{ #1 0x.* in MyClass::my_function\(int\)}} // CHECK: {{previously allocated by thread T0 here:}} - // CHECK: {{ #0 0x.* in wrap_malloc}} + // CHECK: {{ #0 0x.* in malloc}} // CHECK: {{ #1 0x.* in MyClass::my_function\(int\)}} } }; diff --git a/compiler-rt/test/asan/TestCases/Darwin/sandbox-symbolizer.cpp b/compiler-rt/test/asan/TestCases/Darwin/sandbox-symbolizer.cpp index ea2dbd9..4f43471 100644 --- a/compiler-rt/test/asan/TestCases/Darwin/sandbox-symbolizer.cpp +++ b/compiler-rt/test/asan/TestCases/Darwin/sandbox-symbolizer.cpp @@ -26,9 +26,9 @@ int main() { // CHECK: {{READ of size 1 at 0x.* thread T0}} // CHECK: {{ #0 0x.* in main}} // CHECK: {{freed by thread T0 here:}} - // CHECK: {{ #0 0x.* in wrap_free}} + // CHECK: {{ #0 0x.* in free}} // CHECK: {{ #1 0x.* in main}} // CHECK: {{previously allocated by thread T0 here:}} - // CHECK: {{ #0 0x.* in wrap_malloc}} + // CHECK: {{ #0 0x.* in malloc}} // CHECK: {{ #1 0x.* in main}} } -- 2.7.4