From 95824be18fcd70a90787fecd1e51ca0c67d8bd20 Mon Sep 17 00:00:00 2001 From: Teresa Johnson <tejohnson@google.com> Date: Sun, 1 Nov 2020 19:06:50 -0800 Subject: [PATCH] [MemProf] Fix test failure on windows Fix failure in new test from 0949f96dc6521be80ebb8ebc1e1c506165c22aac: Don't match exact file path separator. Should fix: http://lab.llvm.org:8011/#/builders/119/builds/437/steps/9/logs/FAIL__Clang__memory-profile-filename_c --- clang/test/CodeGen/memory-profile-filename.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/CodeGen/memory-profile-filename.c b/clang/test/CodeGen/memory-profile-filename.c index 0041aca1cd7a..89ce90991d3c 100644 --- a/clang/test/CodeGen/memory-profile-filename.c +++ b/clang/test/CodeGen/memory-profile-filename.c @@ -9,4 +9,4 @@ int main(void) { // NONE-NOT: MemProfProfileFilename // DEFAULTNAME: !{i32 1, !"MemProfProfileFilename", !"memprof.profraw"} -// CUSTOMNAME: !{i32 1, !"MemProfProfileFilename", !"/tmp/memprof.profraw"} +// CUSTOMNAME: !{i32 1, !"MemProfProfileFilename", !"/tmp{{.*}}memprof.profraw"}