diff --git a/compiler-rt/test/asan/TestCases/strcpy-overlap.cpp b/compiler-rt/test/asan/TestCases/strcpy-overlap.cpp index f7b7b70a302c2..bd898f44d7811 100644 --- a/compiler-rt/test/asan/TestCases/strcpy-overlap.cpp +++ b/compiler-rt/test/asan/TestCases/strcpy-overlap.cpp @@ -36,7 +36,7 @@ __attribute__((noinline)) void bad_function() { char buffer[] = "hello"; // CHECK: strcpy-param-overlap: memory ranges // CHECK: [{{0x.*,[ ]*0x.*}}) and [{{0x.*,[ ]*0x.*}}) overlap - // CHECK: {{#[0-9]+ 0x.* in .*strcpy .*.cpp}} + // CHECK: {{#[0-9]+ 0x.* in .*strcpy.* .*.cpp}} // CHECK: {{#[0-9]+ 0x.* in bad_function.*strcpy-overlap.cpp:}}[[@LINE+2]] // CHECK: {{#[0-9]+ 0x.* in main .*strcpy-overlap.cpp:}}[[@LINE+5]] strcpy(buffer, buffer + 1); // BOOM diff --git a/compiler-rt/test/asan/TestCases/strdup_oob_test.cpp b/compiler-rt/test/asan/TestCases/strdup_oob_test.cpp index c3cbcf3bcf544..75d5d78c842b3 100644 --- a/compiler-rt/test/asan/TestCases/strdup_oob_test.cpp +++ b/compiler-rt/test/asan/TestCases/strdup_oob_test.cpp @@ -23,7 +23,7 @@ int main(int argc, char **argv) { // CHECK: AddressSanitizer: heap-buffer-overflow // CHECK: #0 {{.*}}main {{.*}}strdup_oob_test.cpp:[[@LINE-2]] // CHECK-LABEL: allocated by thread T{{.*}} here: - // CHECK: #{{[0-9]}}+ {{.*}}strdup + // CHECK: #{{[0-9]+}} {{.*}}strdup // CHECK: #{{.*}}main {{.*}}strdup_oob_test.cpp:[[@LINE-6]] // CHECK-LABEL: SUMMARY // CHECK: strdup_oob_test.cpp:[[@LINE-7]] diff --git a/compiler-rt/test/asan/TestCases/use-after-free-right.cpp b/compiler-rt/test/asan/TestCases/use-after-free-right.cpp index a102de42d7adf..9b2f2eaac5ac7 100644 --- a/compiler-rt/test/asan/TestCases/use-after-free-right.cpp +++ b/compiler-rt/test/asan/TestCases/use-after-free-right.cpp @@ -18,7 +18,7 @@ int main() { // CHECK: {{ #[0-9]+ 0x.* in main .*use-after-free-right.cpp:}}[[@LINE-4]] // CHECK: {{0x.* is located 0 bytes inside of 1-byte region .0x.*,0x.*}} // CHECK: {{freed by thread T0 here:}} - // CHECK: {{ #[0-9]+ 0x.* in .*free .*.cpp}} + // CHECK: {{ #[0-9]+ 0x.* in .*free.* .*.cpp}} // CHECK: {{ #[0-9]+ 0x.* in main .*use-after-free-right.cpp:}}[[@LINE-9]] // CHECK: {{previously allocated by thread T0 here:}}