summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2015-03-27 13:52:12 +0000
committerYaron Keren <yaron.keren@gmail.com>2015-03-27 13:52:12 +0000
commit39972f7723d23f6ca6e8d161941319e4da442439 (patch)
tree8c6d5fd7cfdf3ccb442087c5fb348afc07c05255 /llvm
parent4bdaefdcbe1bccd2ba7ba1a4c09e4d10b2cc5499 (diff)
downloadbcm5719-llvm-39972f7723d23f6ca6e8d161941319e4da442439.tar.gz
bcm5719-llvm-39972f7723d23f6ca6e8d161941319e4da442439.zip
Fix subprogram-linkonce-weak.ll and subprogram-linkonce-weak-odr.ll for Windows.
llvm-svn: 233375
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/Linker/subprogram-linkonce-weak-odr.ll10
-rw-r--r--llvm/test/Linker/subprogram-linkonce-weak.ll12
2 files changed, 11 insertions, 11 deletions
diff --git a/llvm/test/Linker/subprogram-linkonce-weak-odr.ll b/llvm/test/Linker/subprogram-linkonce-weak-odr.ll
index 97058fd62ee..52ce67969a0 100644
--- a/llvm/test/Linker/subprogram-linkonce-weak-odr.ll
+++ b/llvm/test/Linker/subprogram-linkonce-weak-odr.ll
@@ -113,13 +113,13 @@ entry:
; DWLW-NOT: DW_AT_low_pc
; DWLW-NOT: DW_AT_high_pc
; DWLW: DW_AT_name {{.*}}foo
-; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir/foo.h"
+; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}foo.h"
; DWLW: DW_AT_decl_line {{.*}}(1)
; DWLW: DW_TAG_subprogram
; DWLW: DW_AT_low_pc
; DWLW: DW_AT_high_pc
; DWLW: DW_AT_name {{.*}}bar
-; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir/bar.c"
+; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}bar.c"
; DWLW: DW_AT_decl_line {{.*}}(11)
; DWLW: DW_TAG_inlined_subroutine
; DWLW: DW_AT_abstract_origin
@@ -129,7 +129,7 @@ entry:
; DWLW: DW_AT_low_pc
; DWLW: DW_AT_high_pc
; DWLW: DW_AT_name {{.*}}foo
-; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir/foo.h"
+; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}foo.h"
; DWLW: DW_AT_decl_line {{.*}}(1)
; The DWARF output is already symmetric (just reordered).
@@ -139,7 +139,7 @@ entry:
; DWWL: DW_AT_low_pc
; DWWL: DW_AT_high_pc
; DWWL: DW_AT_name {{.*}}foo
-; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir/foo.h"
+; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}foo.h"
; DWWL: DW_AT_decl_line {{.*}}(1)
; DWWL: DW_TAG_compile_unit
; DWWL: DW_AT_name {{.*}}"bar.c"
@@ -154,7 +154,7 @@ entry:
; DWWL: DW_AT_high_pc
; DWWL-NOT: DW_AT_name {{.*}}foo
; DWWL: DW_AT_name {{.*}}bar
-; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir/bar.c"
+; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}bar.c"
; DWWL: DW_AT_decl_line {{.*}}(11)
; DWWL: DW_TAG_inlined_subroutine
; DWWL: DW_AT_abstract_origin
diff --git a/llvm/test/Linker/subprogram-linkonce-weak.ll b/llvm/test/Linker/subprogram-linkonce-weak.ll
index 42a8b39208b..94d436594a5 100644
--- a/llvm/test/Linker/subprogram-linkonce-weak.ll
+++ b/llvm/test/Linker/subprogram-linkonce-weak.ll
@@ -109,13 +109,13 @@ entry:
; DWLW-NOT: DW_AT_low_pc
; DWLW-NOT: DW_AT_high_pc
; DWLW: DW_AT_name {{.*}}foo
-; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir/bar.c"
+; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}bar.c"
; DWLW: DW_AT_decl_line {{.*}}(1)
; DWLW: DW_TAG_subprogram
; DWLW: DW_AT_low_pc
; DWLW: DW_AT_high_pc
; DWLW: DW_AT_name {{.*}}bar
-; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir/bar.c"
+; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}bar.c"
; DWLW: DW_AT_decl_line {{.*}}(11)
; DWLW: DW_TAG_inlined_subroutine
@@ -126,7 +126,7 @@ entry:
; DWLW: DW_AT_low_pc
; DWLW: DW_AT_high_pc
; DWLW: DW_AT_name {{.*}}foo
-; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir/foo.c"
+; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}foo.c"
; DWLW: DW_AT_decl_line {{.*}}(51)
; The DWARF output is already symmetric (just reordered).
@@ -136,7 +136,7 @@ entry:
; DWWL: DW_AT_low_pc
; DWWL: DW_AT_high_pc
; DWWL: DW_AT_name {{.*}}foo
-; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir/foo.c"
+; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}foo.c"
; DWWL: DW_AT_decl_line {{.*}}(51)
; DWWL: DW_TAG_compile_unit
; DWWL: DW_AT_name {{.*}}"bar.c"
@@ -144,13 +144,13 @@ entry:
; DWWL-NOT: DW_AT_low_pc
; DWWL-NOT: DW_AT_high_pc
; DWWL: DW_AT_name {{.*}}foo
-; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir/bar.c"
+; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}bar.c"
; DWWL: DW_AT_decl_line {{.*}}(1)
; DWWL: DW_TAG_subprogram
; DWWL: DW_AT_low_pc
; DWWL: DW_AT_high_pc
; DWWL: DW_AT_name {{.*}}bar
-; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir/bar.c"
+; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}bar.c"
; DWWL: DW_AT_decl_line {{.*}}(11)
; DWWL: DW_TAG_inlined_subroutine
; DWWL: DW_AT_abstract_origin
OpenPOWER on IntegriCloud