From ef778708574efdee279e82ddfe2bc906810799ed Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Thu, 17 May 2018 21:10:31 +0000 Subject: [PATCH] Fix lld wasm debug info test on Windows (path separator, sigh) llvm-svn: 332668 --- lld/test/wasm/debuginfo.test | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lld/test/wasm/debuginfo.test b/lld/test/wasm/debuginfo.test index 1758fffd9bfa..90c8ce206ddb 100644 --- a/lld/test/wasm/debuginfo.test +++ b/lld/test/wasm/debuginfo.test @@ -15,20 +15,20 @@ CHECK: DW_TAG_subprogram CHECK-NEXT: DW_AT_low_pc CHECK-NEXT: DW_AT_high_pc CHECK-NEXT: DW_AT_name ("test") -CHECK-NEXT: DW_AT_decl_file ("/Users/yury/llvmwasm/hi.c") +CHECK-NEXT: DW_AT_decl_file ("/Users/yury/llvmwasm{{(/|\\)}}hi.c") CHECK-NEXT: DW_AT_decl_line (3) CHECK-NEXT: DW_AT_prototyped (true) CHECK: DW_TAG_formal_parameter CHECK-NEXT: DW_AT_name ("t") -CHECK-NEXT: DW_AT_decl_file ("/Users/yury/llvmwasm/hi.c") +CHECK-NEXT: DW_AT_decl_file ("/Users/yury/llvmwasm{{(/|\\)}}hi.c") CHECK-NEXT: DW_AT_decl_line (3) CHECK: DW_TAG_subprogram CHECK-NEXT: DW_AT_low_pc CHECK-NEXT: DW_AT_high_pc CHECK-NEXT: DW_AT_name ("_start") -CHECK-NEXT: DW_AT_decl_file ("/Users/yury/llvmwasm/hi.c") +CHECK-NEXT: DW_AT_decl_file ("/Users/yury/llvmwasm{{(/|\\)}}hi.c") CHECK-NEXT: DW_AT_decl_line (7) CHECK: DW_TAG_base_type @@ -63,11 +63,11 @@ CHECK: DW_TAG_subprogram CHECK-NEXT: DW_AT_low_pc CHECK-NEXT: DW_AT_high_pc CHECK-NEXT: DW_AT_name ("foo") -CHECK-NEXT: DW_AT_decl_file ("/Users/yury/llvmwasm/hi_foo.c") +CHECK-NEXT: DW_AT_decl_file ("/Users/yury/llvmwasm{{(/|\\)}}hi_foo.c") CHECK-NEXT: DW_AT_decl_line (3) CHECK: DW_TAG_formal_parameter CHECK-NEXT: DW_AT_name ("p") -CHECK-NEXT: DW_AT_decl_file ("/Users/yury/llvmwasm/hi_foo.c") +CHECK-NEXT: DW_AT_decl_file ("/Users/yury/llvmwasm{{(/|\\)}}hi_foo.c") CHECK-NEXT: DW_AT_decl_line (3)