[asan] Fix Windows tests after StripFunctionName() improvements
Stacktraces should no longer show __asan_wrap_, but the "normal"
function name.
Reflect that in tests.
GitOrigin-RevId: a32a16311050fbccc03638b197910dc1415f60ab
diff --git a/test/asan/TestCases/Windows/dll_intercept_memcpy_indirect.cpp b/test/asan/TestCases/Windows/dll_intercept_memcpy_indirect.cpp
index f79e4d6..0bdd350 100644
--- a/test/asan/TestCases/Windows/dll_intercept_memcpy_indirect.cpp
+++ b/test/asan/TestCases/Windows/dll_intercept_memcpy_indirect.cpp
@@ -24,7 +24,7 @@
call_memcpy(&memcpy, buff2, buff1, 6);
// CHECK: AddressSanitizer: stack-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
// CHECK: WRITE of size 6 at [[ADDR]] thread T0
-// CHECK-NEXT: __asan_{{.*}}mem{{.*}}
+// CHECK-NEXT: mem{{.*}}
// CHECK-NEXT: call_memcpy
// CHECK-NEXT: test_function {{.*}}dll_intercept_memcpy_indirect.cpp:[[@LINE-5]]
// CHECK: Address [[ADDR]] is located in stack of thread T0 at offset {{.*}} in frame
diff --git a/test/asan/TestCases/Windows/intercept_memcpy.cpp b/test/asan/TestCases/Windows/intercept_memcpy.cpp
index eda82a4..a80ab09 100644
--- a/test/asan/TestCases/Windows/intercept_memcpy.cpp
+++ b/test/asan/TestCases/Windows/intercept_memcpy.cpp
@@ -22,7 +22,7 @@
call_memcpy(&memcpy, buff2, buff1, 6);
// CHECK: AddressSanitizer: stack-buffer-overflow on address [[ADDR:0x[0-9a-f]+]]
// CHECK: WRITE of size 6 at [[ADDR]] thread T0
-// CHECK-NEXT: __asan_{{.*}}mem{{.*}}
+// CHECK-NEXT: mem{{.*}}
// CHECK-NEXT: call_mem{{.*}}
// CHECK-NEXT: main {{.*}}intercept_memcpy.cpp:[[@LINE-5]]
// CHECK: Address [[ADDR]] is located in stack of thread T0 at offset {{.*}} in frame
diff --git a/test/asan/TestCases/Windows/intercept_strdup.cpp b/test/asan/TestCases/Windows/intercept_strdup.cpp
index 244485d..b519f53 100644
--- a/test/asan/TestCases/Windows/intercept_strdup.cpp
+++ b/test/asan/TestCases/Windows/intercept_strdup.cpp
@@ -23,7 +23,7 @@
//
// The first frame is our wrapper normally but will be malloc in the dynamic
// config.
-// CHECK: #0 {{.*}} in {{malloc|__asan_wrap_strdup}}
+// CHECK: #0 {{.*}} in {{malloc|strdup}}
//
// The local call to _strdup above may be the second or third frame depending
// on whether we're using the dynamic config.