llvm.org GIT mirror llvm / 407da8c
Fix subprogram-linkonce-weak.ll and subprogram-linkonce-weak-odr.ll for Windows. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233375 91177308-0d34-0410-b5e6-96231b3b80d8 Yaron Keren 5 years ago
2 changed file(s) with 11 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
112112 ; DWLW-NOT: DW_AT_low_pc
113113 ; DWLW-NOT: DW_AT_high_pc
114114 ; DWLW: DW_AT_name {{.*}}foo
115 ; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir/foo.h"
115 ; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}foo.h"
116116 ; DWLW: DW_AT_decl_line {{.*}}(1)
117117 ; DWLW: DW_TAG_subprogram
118118 ; DWLW: DW_AT_low_pc
119119 ; DWLW: DW_AT_high_pc
120120 ; DWLW: DW_AT_name {{.*}}bar
121 ; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir/bar.c"
121 ; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}bar.c"
122122 ; DWLW: DW_AT_decl_line {{.*}}(11)
123123 ; DWLW: DW_TAG_inlined_subroutine
124124 ; DWLW: DW_AT_abstract_origin
128128 ; DWLW: DW_AT_low_pc
129129 ; DWLW: DW_AT_high_pc
130130 ; DWLW: DW_AT_name {{.*}}foo
131 ; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir/foo.h"
131 ; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}foo.h"
132132 ; DWLW: DW_AT_decl_line {{.*}}(1)
133133
134134 ; The DWARF output is already symmetric (just reordered).
138138 ; DWWL: DW_AT_low_pc
139139 ; DWWL: DW_AT_high_pc
140140 ; DWWL: DW_AT_name {{.*}}foo
141 ; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir/foo.h"
141 ; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}foo.h"
142142 ; DWWL: DW_AT_decl_line {{.*}}(1)
143143 ; DWWL: DW_TAG_compile_unit
144144 ; DWWL: DW_AT_name {{.*}}"bar.c"
153153 ; DWWL: DW_AT_high_pc
154154 ; DWWL-NOT: DW_AT_name {{.*}}foo
155155 ; DWWL: DW_AT_name {{.*}}bar
156 ; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir/bar.c"
156 ; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}bar.c"
157157 ; DWWL: DW_AT_decl_line {{.*}}(11)
158158 ; DWWL: DW_TAG_inlined_subroutine
159159 ; DWWL: DW_AT_abstract_origin
108108 ; DWLW-NOT: DW_AT_low_pc
109109 ; DWLW-NOT: DW_AT_high_pc
110110 ; DWLW: DW_AT_name {{.*}}foo
111 ; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir/bar.c"
111 ; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}bar.c"
112112 ; DWLW: DW_AT_decl_line {{.*}}(1)
113113 ; DWLW: DW_TAG_subprogram
114114 ; DWLW: DW_AT_low_pc
115115 ; DWLW: DW_AT_high_pc
116116 ; DWLW: DW_AT_name {{.*}}bar
117 ; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir/bar.c"
117 ; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}bar.c"
118118 ; DWLW: DW_AT_decl_line {{.*}}(11)
119119
120120 ; DWLW: DW_TAG_inlined_subroutine
125125 ; DWLW: DW_AT_low_pc
126126 ; DWLW: DW_AT_high_pc
127127 ; DWLW: DW_AT_name {{.*}}foo
128 ; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir/foo.c"
128 ; DWLW: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}foo.c"
129129 ; DWLW: DW_AT_decl_line {{.*}}(51)
130130
131131 ; The DWARF output is already symmetric (just reordered).
135135 ; DWWL: DW_AT_low_pc
136136 ; DWWL: DW_AT_high_pc
137137 ; DWWL: DW_AT_name {{.*}}foo
138 ; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir/foo.c"
138 ; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}foo.c"
139139 ; DWWL: DW_AT_decl_line {{.*}}(51)
140140 ; DWWL: DW_TAG_compile_unit
141141 ; DWWL: DW_AT_name {{.*}}"bar.c"
143143 ; DWWL-NOT: DW_AT_low_pc
144144 ; DWWL-NOT: DW_AT_high_pc
145145 ; DWWL: DW_AT_name {{.*}}foo
146 ; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir/bar.c"
146 ; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}bar.c"
147147 ; DWWL: DW_AT_decl_line {{.*}}(1)
148148 ; DWWL: DW_TAG_subprogram
149149 ; DWWL: DW_AT_low_pc
150150 ; DWWL: DW_AT_high_pc
151151 ; DWWL: DW_AT_name {{.*}}bar
152 ; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir/bar.c"
152 ; DWWL: DW_AT_decl_file {{.*}}"/path/to/dir{{/|\\}}bar.c"
153153 ; DWWL: DW_AT_decl_line {{.*}}(11)
154154 ; DWWL: DW_TAG_inlined_subroutine
155155 ; DWWL: DW_AT_abstract_origin