diff --git a/compiler-rt/test/asan/TestCases/Windows/intercept_strdup.cc b/compiler-rt/test/asan/TestCases/Windows/intercept_strdup.cc index ad710fc09cfe..51c033a0afb3 100644 --- a/compiler-rt/test/asan/TestCases/Windows/intercept_strdup.cc +++ b/compiler-rt/test/asan/TestCases/Windows/intercept_strdup.cc @@ -20,7 +20,15 @@ int main() { // CHECK: {{#0 .* main .*}}intercept_strdup.cc:[[@LINE-3]] // CHECK: [[ADDR]] is located 1 bytes to the left of 6-byte region // CHECK: allocated by thread T0 here: -// CHECK: {{#[0-9] .*strdup}} -// CHECK: {{#[0-9] .* main .*}}intercept_strdup.cc:[[@LINE-15]] +// CHECK: #0 {{.*strdup}} +// CHECK: #1 {{.* main .*}}intercept_strdup.cc:[[@LINE-15]] +// CHECK: #2 {{.*foobar}} +// CHECK: #3 {{.*foobar}} +// CHECK: #4 {{.*foobar}} +// CHECK: #5 {{.*foobar}} +// CHECK: #6 {{.*foobar}} +// CHECK: #7 {{.*foobar}} +// CHECK: #8 {{.*foobar}} +// CHECK: #9 {{.*foobar}} free(ptr); }