[compiler-rt] 2005382 - [Darwin] Fix more ASAN symbolizer tests

Francis Visoiu Mistrih via llvm-commits llvm-commits at lists.llvm.org
Wed May 31 12:18:23 PDT 2023


Author: Francis Visoiu Mistrih
Date: 2023-05-31T12:17:45-07:00
New Revision: 20053821a97ec39f87d717cd054fa674a2f95e73

URL: https://github.com/llvm/llvm-project/commit/20053821a97ec39f87d717cd054fa674a2f95e73
DIFF: https://github.com/llvm/llvm-project/commit/20053821a97ec39f87d717cd054fa674a2f95e73.diff

LOG: [Darwin] Fix more ASAN symbolizer tests

RenderFrame now strips `wrap_`.

Added: 
    

Modified: 
    compiler-rt/test/asan/TestCases/malloc_context_size.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/malloc_context_size.cpp b/compiler-rt/test/asan/TestCases/malloc_context_size.cpp
index 65ef2781ca88..e75bc48793ad 100644
--- a/compiler-rt/test/asan/TestCases/malloc_context_size.cpp
+++ b/compiler-rt/test/asan/TestCases/malloc_context_size.cpp
@@ -11,11 +11,11 @@ int main() {
   return x[0];
 
   // CHECK: freed by thread T{{.*}} here:
-  // CHECK-NEXT: #0 0x{{.*}} in {{operator delete( )?\[\]|wrap__ZdaPv}}
+  // CHECK-NEXT: #0 0x{{.*}} in {{operator delete( )?\[\]|_ZdaPv}}
   // CHECK-NOT: #1 0x{{.*}}
 
   // CHECK: previously allocated by thread T{{.*}} here:
-  // CHECK-NEXT: #0 0x{{.*}} in {{operator new( )?\[\]|wrap__Znam}}
+  // CHECK-NEXT: #0 0x{{.*}} in {{operator new( )?\[\]|_Znam}}
   // CHECK-NOT: #1 0x{{.*}}
 
   // CHECK: SUMMARY: AddressSanitizer: heap-use-after-free


        


More information about the llvm-commits mailing list