[Darwin] Fix ASAN symbolizer tests
authorFrancis Visoiu Mistrih <francisvm@apple.com>
Wed, 31 May 2023 18:32:13 +0000 (11:32 -0700)
committerFrancis Visoiu Mistrih <francisvm@apple.com>
Wed, 31 May 2023 18:40:10 +0000 (11:40 -0700)
RenderFrame now strips `wrap_`.

compiler-rt/test/asan/TestCases/Darwin/dladdr-demangling.cpp
compiler-rt/test/asan/TestCases/Darwin/sandbox-symbolizer.cpp

index 19e43f4..617e57f 100644 (file)
@@ -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\)}}
   }
 };
index ea2dbd9..4f43471 100644 (file)
@@ -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}}
 }