[CostModel][X86] getShuffleCosts - convert all shuffle cost tables to be CostKind...
[llvm-project.git] / llvm / test / DebugInfo / NVPTX / debug-loc-offset.ll
blobca11a2ccf6706d5d4ff324324e16e9b13490ca32
1 ; RUN: llc -mtriple=nvptx64-nvidia-cuda -mattr=+ptx70 < %s | FileCheck %s
2 ; RUN: %if ptxas %{ llc -mtriple=nvptx64-nvidia-cuda < %s -mattr=+ptx70 | %ptxas-verify %}
4 ; CHECK: .target sm_{{[0-9]+}}, debug
6 ; CHECK: .extern .func  (.param .b32 func_retval0) _ZN1A3fooEv
7 ; CHECK: (
8 ; CHECK: .param .b64 _ZN1A3fooEv_param_0
9 ; CHECK: )
11 %struct.A = type { ptr, i32 }
13 ; CHECK: .visible .func  (.param .b32 func_retval0) _Z3bari(
14 ; CHECK: {
15 ; CHECK: .loc [[CU1:[0-9]+]] 1 0
16 ; CHECK: $L__func_begin0:
17 ; CHECK: .loc [[CU1]] 1 0
19 ; CHECK: //DEBUG_VALUE: bar:b <- {{[0-9]+}}
20 ; CHECK: //DEBUG_VALUE: bar:b <- {{[0-9]+}}
21 ; CHECK: .loc [[CU1]] 2 0
22 ; CHECK: ret;
23 ; CHECK: }
25 ; Function Attrs: nounwind
26 define i32 @_Z3bari(i32 %b) #0 !dbg !4 {
27 entry:
28   %b.addr = alloca i32, align 4
29   store i32 %b, ptr %b.addr, align 4
30   call void @llvm.dbg.value(metadata i32 0, metadata !21, metadata !DIExpression()), !dbg !22
31   %0 = load i32, ptr %b.addr, align 4, !dbg !23
32   call void @llvm.dbg.value(metadata i32 1, metadata !21, metadata !DIExpression()), !dbg !22
33   %add = add nsw i32 %0, 4, !dbg !23
34   ret i32 %add, !dbg !23
37 ; Function Attrs: nounwind readnone
38 declare void @llvm.dbg.declare(metadata, metadata, metadata) #1
40 declare void @llvm.dbg.value(metadata, metadata, metadata) #1
42 ; CHECK: .visible .func _Z3baz1A(
43 ; CHECK: {
44 ; CHECK: .loc [[CU2:[0-9]+]] 6 0
45 ; CHECK: $L__func_begin1:
46 ; CHECK: .loc [[CU2]] 6 0
47 ; CHECK-NOT: //DEBUG_VALUE: baz:z
48 ; CHECK: //DEBUG_VALUE: baz:z <- undef
49 ; CHECK: .loc [[CU2]] 10 0
50 ; CHECK: ret;
51 ; CHECK: }
53 define void @_Z3baz1A(ptr %a) #2 !dbg !14 {
54 entry:
55   %z = alloca i32, align 4
56   call void @llvm.dbg.declare(metadata ptr %a, metadata !24, metadata !DIExpression(DW_OP_deref)), !dbg !25
57   call void @llvm.dbg.declare(metadata ptr %z, metadata !26, metadata !DIExpression()), !dbg !27
58   store i32 2, ptr %z, align 4, !dbg !27
59   %var = getelementptr inbounds %struct.A, ptr %a, i32 0, i32 1, !dbg !28
60   %0 = load i32, ptr %var, align 4, !dbg !28
61   %cmp = icmp sgt i32 %0, 2, !dbg !28
62   br i1 %cmp, label %if.then, label %if.end, !dbg !28
64 if.then:                                          ; preds = %entry
65   %1 = load i32, ptr %z, align 4, !dbg !30
66   %inc = add nsw i32 %1, 1, !dbg !30
67   store i32 %inc, ptr %z, align 4, !dbg !30
68   br label %if.end, !dbg !30
70 if.end:                                           ; preds = %if.then, %entry
71   %call = call signext i8 @_ZN1A3fooEv(ptr %a), !dbg !31
72   %conv = sext i8 %call to i32, !dbg !31
73   %cmp1 = icmp eq i32 %conv, 97, !dbg !31
74   br i1 %cmp1, label %if.then2, label %if.end4, !dbg !31
76 if.then2:                                         ; preds = %if.end
77   %2 = load i32, ptr %z, align 4, !dbg !33
78   %inc3 = add nsw i32 %2, 1, !dbg !33
79   store i32 %inc3, ptr %z, align 4, !dbg !33
80   br label %if.end4, !dbg !33
82 if.end4:                                          ; preds = %if.then2, %if.end
83   ret void, !dbg !34
86 ; CHECK-DAG: .file [[CU1]] "/llvm_cmake_gcc{{/|\\\\}}debug-loc-offset1.cc"
87 ; CHECK-DAG: .file [[CU2]] "/llvm_cmake_gcc{{/|\\\\}}debug-loc-offset2.cc"
89 declare signext i8 @_ZN1A3fooEv(ptr) #2
91 attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
92 attributes #1 = { nounwind readnone }
93 attributes #2 = { "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-fp-math"="false" "use-soft-float"="false" }
95 !llvm.dbg.cu = !{!0, !9}
96 !llvm.module.flags = !{!18, !19}
97 !llvm.ident = !{!20, !20}
99 !0 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.5.0 (210479)", isOptimized: false, emissionKind: FullDebug, file: !1, enums: !2, retainedTypes: !2, globals: !2, imports: !2, nameTableKind: None)
100 !1 = !DIFile(filename: "debug-loc-offset1.cc", directory: "/llvm_cmake_gcc")
101 !2 = !{}
102 !4 = distinct !DISubprogram(name: "bar", linkageName: "_Z3bari", line: 1, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, unit: !0, scopeLine: 1, file: !1, scope: !5, type: !6, retainedNodes: !35)
103 !5 = !DIFile(filename: "debug-loc-offset1.cc", directory: "/llvm_cmake_gcc")
104 !6 = !DISubroutineType(types: !7)
105 !7 = !{!8, !8}
106 !8 = !DIBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed)
107 !9 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.5.0 (210479)", isOptimized: false, emissionKind: FullDebug, file: !10, enums: !2, retainedTypes: !11, globals: !2, imports: !2, nameTableKind: None)
108 !10 = !DIFile(filename: "debug-loc-offset2.cc", directory: "/llvm_cmake_gcc")
109 !11 = !{!12}
110 !12 = !DICompositeType(tag: DW_TAG_structure_type, name: "A", line: 1, flags: DIFlagFwdDecl, file: !10, identifier: "_ZTS1A")
111 !14 = distinct !DISubprogram(name: "baz", linkageName: "_Z3baz1A", line: 6, isLocal: false, isDefinition: true, virtualIndex: 6, flags: DIFlagPrototyped, isOptimized: false, unit: !9, scopeLine: 6, file: !10, scope: !15, type: !16, retainedNodes: !36)
112 !15 = !DIFile(filename: "debug-loc-offset2.cc", directory: "/llvm_cmake_gcc")
113 !16 = !DISubroutineType(types: !17)
114 !17 = !{null, !12}
115 !18 = !{i32 2, !"Dwarf Version", i32 4}
116 !19 = !{i32 2, !"Debug Info Version", i32 3}
117 !20 = !{!"clang version 3.5.0 (210479)"}
118 !21 = !DILocalVariable(name: "b", line: 1, arg: 1, scope: !4, file: !5, type: !8)
119 !22 = !DILocation(line: 1, scope: !4)
120 !23 = !DILocation(line: 2, scope: !4)
121 !24 = !DILocalVariable(name: "a", line: 6, arg: 1, scope: !14, file: !15, type: !12)
122 !25 = !DILocation(line: 6, scope: !14)
123 !26 = !DILocalVariable(name: "z", line: 7, scope: !14, file: !15, type: !8)
124 !27 = !DILocation(line: 7, scope: !14)
125 !28 = !DILocation(line: 8, scope: !29)
126 !29 = distinct !DILexicalBlock(line: 8, column: 0, file: !10, scope: !14)
127 !30 = !DILocation(line: 9, scope: !29)
128 !31 = !DILocation(line: 10, scope: !32)
129 !32 = distinct !DILexicalBlock(line: 10, column: 0, file: !10, scope: !14)
130 !33 = !DILocation(line: 11, scope: !32)
131 !34 = !DILocation(line: 12, scope: !14)
132 !35 = !{!21}
133 !36 = !{!24, !26}
135 ; CHECK:        .section        .debug_loc
136 ; CHECK-NEXT:   {
137 ; CHECK-NEXT: $L__debug_loc0:
138 ; CHECK-NEXT: .b64 $L__func_begin0
139 ; CHECK-NEXT: .b64 $L__tmp0
140 ; CHECK-NEXT: .b8 2                                   // Loc expr size
141 ; CHECK-NEXT: .b8 0
142 ; CHECK-NEXT: .b8 17                                  // DW_OP_consts
143 ; CHECK-NEXT: .b8 0                                   // 0
144 ; CHECK-NEXT: .b64 $L__tmp0
145 ; CHECK-NEXT: .b64 $L__func_end0
146 ; CHECK-NEXT: .b8 2                                   // Loc expr size
147 ; CHECK-NEXT: .b8 0
148 ; CHECK-NEXT: .b8 17                                  // DW_OP_consts
149 ; CHECK-NEXT: .b8 1                                   // 1
150 ; CHECK-NEXT: .b64 0
151 ; CHECK-NEXT: .b64 0
152 ; CHECK-NEXT:   }
153 ; CHECK-NEXT:   .section        .debug_abbrev
154 ; CHECK-NEXT:   {
155 ; CHECK-NEXT: .b8 1                                   // Abbreviation Code
156 ; CHECK-NEXT: .b8 17                                  // DW_TAG_compile_unit
157 ; CHECK-NEXT: .b8 1                                   // DW_CHILDREN_yes
158 ; CHECK-NEXT: .b8 37                                  // DW_AT_producer
159 ; CHECK-NEXT: .b8 8                                   // DW_FORM_string
160 ; CHECK-NEXT: .b8 19                                  // DW_AT_language
161 ; CHECK-NEXT: .b8 5                                   // DW_FORM_data2
162 ; CHECK-NEXT: .b8 3                                   // DW_AT_name
163 ; CHECK-NEXT: .b8 8                                   // DW_FORM_string
164 ; CHECK-NEXT: .b8 16                                  // DW_AT_stmt_list
165 ; CHECK-NEXT: .b8 6                                   // DW_FORM_data4
166 ; CHECK-NEXT: .b8 27                                  // DW_AT_comp_dir
167 ; CHECK-NEXT: .b8 8                                   // DW_FORM_string
168 ; CHECK-NEXT: .b8 0                                   // EOM(1)
169 ; CHECK-NEXT: .b8 0                                   // EOM(2)
170 ; CHECK-NEXT: .b8 2                                   // Abbreviation Code
171 ; CHECK-NEXT: .b8 19                                  // DW_TAG_structure_type
172 ; CHECK-NEXT: .b8 0                                   // DW_CHILDREN_no
173 ; CHECK-NEXT: .b8 3                                   // DW_AT_name
174 ; CHECK-NEXT: .b8 8                                   // DW_FORM_string
175 ; CHECK-NEXT: .b8 60                                  // DW_AT_declaration
176 ; CHECK-NEXT: .b8 12                                  // DW_FORM_flag
177 ; CHECK-NEXT: .b8 0                                   // EOM(1)
178 ; CHECK-NEXT: .b8 0                                   // EOM(2)
179 ; CHECK-NEXT: .b8 3                                   // Abbreviation Code
180 ; CHECK-NEXT: .b8 46                                  // DW_TAG_subprogram
181 ; CHECK-NEXT: .b8 1                                   // DW_CHILDREN_yes
182 ; CHECK-NEXT: .b8 17                                  // DW_AT_low_pc
183 ; CHECK-NEXT: .b8 1                                   // DW_FORM_addr
184 ; CHECK-NEXT: .b8 18                                  // DW_AT_high_pc
185 ; CHECK-NEXT: .b8 1                                   // DW_FORM_addr
186 ; CHECK-NEXT: .b8 64                                  // DW_AT_frame_base
187 ; CHECK-NEXT: .b8 10                                  // DW_FORM_block1
188 ; CHECK-NEXT: .b8 135                                 // DW_AT_MIPS_linkage_name
189 ; CHECK-NEXT: .b8 64
190 ; CHECK-NEXT: .b8 8                                   // DW_FORM_string
191 ; CHECK-NEXT: .b8 3                                   // DW_AT_name
192 ; CHECK-NEXT: .b8 8                                   // DW_FORM_string
193 ; CHECK-NEXT: .b8 58                                  // DW_AT_decl_file
194 ; CHECK-NEXT: .b8 11                                  // DW_FORM_data1
195 ; CHECK-NEXT: .b8 59                                  // DW_AT_decl_line
196 ; CHECK-NEXT: .b8 11                                  // DW_FORM_data1
197 ; CHECK-NEXT: .b8 63                                  // DW_AT_external
198 ; CHECK-NEXT: .b8 12                                  // DW_FORM_flag
199 ; CHECK-NEXT: .b8 0                                   // EOM(1)
200 ; CHECK-NEXT: .b8 0                                   // EOM(2)
201 ; CHECK-NEXT: .b8 4                                   // Abbreviation Code
202 ; CHECK-NEXT: .b8 5                                   // DW_TAG_formal_parameter
203 ; CHECK-NEXT: .b8 0                                   // DW_CHILDREN_no
204 ; CHECK-NEXT: .b8 3                                   // DW_AT_name
205 ; CHECK-NEXT: .b8 8                                   // DW_FORM_string
206 ; CHECK-NEXT: .b8 58                                  // DW_AT_decl_file
207 ; CHECK-NEXT: .b8 11                                  // DW_FORM_data1
208 ; CHECK-NEXT: .b8 59                                  // DW_AT_decl_line
209 ; CHECK-NEXT: .b8 11                                  // DW_FORM_data1
210 ; CHECK-NEXT: .b8 73                                  // DW_AT_type
211 ; CHECK-NEXT: .b8 19                                  // DW_FORM_ref4
212 ; CHECK-NEXT: .b8 0                                   // EOM(1)
213 ; CHECK-NEXT: .b8 0                                   // EOM(2)
214 ; CHECK-NEXT: .b8 5                                   // Abbreviation Code
215 ; CHECK-NEXT: .b8 52                                  // DW_TAG_variable
216 ; CHECK-NEXT: .b8 0                                   // DW_CHILDREN_no
217 ; CHECK-NEXT: .b8 3                                   // DW_AT_name
218 ; CHECK-NEXT: .b8 8                                   // DW_FORM_string
219 ; CHECK-NEXT: .b8 58                                  // DW_AT_decl_file
220 ; CHECK-NEXT: .b8 11                                  // DW_FORM_data1
221 ; CHECK-NEXT: .b8 59                                  // DW_AT_decl_line
222 ; CHECK-NEXT: .b8 11                                  // DW_FORM_data1
223 ; CHECK-NEXT: .b8 73                                  // DW_AT_type
224 ; CHECK-NEXT: .b8 16                                  // DW_FORM_ref_addr
225 ; CHECK-NEXT: .b8 0                                   // EOM(1)
226 ; CHECK-NEXT: .b8 0                                   // EOM(2)
227 ; CHECK-NEXT: .b8 6                                   // Abbreviation Code
228 ; CHECK-NEXT: .b8 46                                  // DW_TAG_subprogram
229 ; CHECK-NEXT: .b8 1                                   // DW_CHILDREN_yes
230 ; CHECK-NEXT: .b8 17                                  // DW_AT_low_pc
231 ; CHECK-NEXT: .b8 1                                   // DW_FORM_addr
232 ; CHECK-NEXT: .b8 18                                  // DW_AT_high_pc
233 ; CHECK-NEXT: .b8 1                                   // DW_FORM_addr
234 ; CHECK-NEXT: .b8 64                                  // DW_AT_frame_base
235 ; CHECK-NEXT: .b8 10                                  // DW_FORM_block1
236 ; CHECK-NEXT: .b8 135                                 // DW_AT_MIPS_linkage_name
237 ; CHECK-NEXT: .b8 64
238 ; CHECK-NEXT: .b8 8                                   // DW_FORM_string
239 ; CHECK-NEXT: .b8 3                                   // DW_AT_name
240 ; CHECK-NEXT: .b8 8                                   // DW_FORM_string
241 ; CHECK-NEXT: .b8 58                                  // DW_AT_decl_file
242 ; CHECK-NEXT: .b8 11                                  // DW_FORM_data1
243 ; CHECK-NEXT: .b8 59                                  // DW_AT_decl_line
244 ; CHECK-NEXT: .b8 11                                  // DW_FORM_data1
245 ; CHECK-NEXT: .b8 73                                  // DW_AT_type
246 ; CHECK-NEXT: .b8 19                                  // DW_FORM_ref4
247 ; CHECK-NEXT: .b8 63                                  // DW_AT_external
248 ; CHECK-NEXT: .b8 12                                  // DW_FORM_flag
249 ; CHECK-NEXT: .b8 0                                   // EOM(1)
250 ; CHECK-NEXT: .b8 0                                   // EOM(2)
251 ; CHECK-NEXT: .b8 7                                   // Abbreviation Code
252 ; CHECK-NEXT: .b8 5                                   // DW_TAG_formal_parameter
253 ; CHECK-NEXT: .b8 0                                   // DW_CHILDREN_no
254 ; CHECK-NEXT: .b8 2                                   // DW_AT_location
255 ; CHECK-NEXT: .b8 6                                   // DW_FORM_data4
256 ; CHECK-NEXT: .b8 3                                   // DW_AT_name
257 ; CHECK-NEXT: .b8 8                                   // DW_FORM_string
258 ; CHECK-NEXT: .b8 58                                  // DW_AT_decl_file
259 ; CHECK-NEXT: .b8 11                                  // DW_FORM_data1
260 ; CHECK-NEXT: .b8 59                                  // DW_AT_decl_line
261 ; CHECK-NEXT: .b8 11                                  // DW_FORM_data1
262 ; CHECK-NEXT: .b8 73                                  // DW_AT_type
263 ; CHECK-NEXT: .b8 19                                  // DW_FORM_ref4
264 ; CHECK-NEXT: .b8 0                                   // EOM(1)
265 ; CHECK-NEXT: .b8 0                                   // EOM(2)
266 ; CHECK-NEXT: .b8 8                                   // Abbreviation Code
267 ; CHECK-NEXT: .b8 36                                  // DW_TAG_base_type
268 ; CHECK-NEXT: .b8 0                                   // DW_CHILDREN_no
269 ; CHECK-NEXT: .b8 3                                   // DW_AT_name
270 ; CHECK-NEXT: .b8 8                                   // DW_FORM_string
271 ; CHECK-NEXT: .b8 62                                  // DW_AT_encoding
272 ; CHECK-NEXT: .b8 11                                  // DW_FORM_data1
273 ; CHECK-NEXT: .b8 11                                  // DW_AT_byte_size
274 ; CHECK-NEXT: .b8 11                                  // DW_FORM_data1
275 ; CHECK-NEXT: .b8 0                                   // EOM(1)
276 ; CHECK-NEXT: .b8 0                                   // EOM(2)
277 ; CHECK-NEXT: .b8 0                                   // EOM(3)
278 ; CHECK-NEXT:   }
279 ; CHECK-NEXT:   .section        .debug_info
280 ; CHECK-NEXT:   {
281 ; CHECK-NEXT: .b32 143                                // Length of Unit
282 ; CHECK-NEXT: .b8 2                                   // DWARF version number
283 ; CHECK-NEXT: .b8 0
284 ; CHECK-NEXT: .b32 .debug_abbrev                      // Offset Into Abbrev. Section
285 ; CHECK-NEXT: .b8 8                                   // Address Size (in bytes)
286 ; CHECK-NEXT: .b8 1                                   // Abbrev [1] 0xb:0x88 DW_TAG_compile_unit
287 ; CHECK-NEXT: .b8 99                                  // DW_AT_producer
288 ; CHECK-NEXT: .b8 108
289 ; CHECK-NEXT: .b8 97
290 ; CHECK-NEXT: .b8 110
291 ; CHECK-NEXT: .b8 103
292 ; CHECK-NEXT: .b8 32
293 ; CHECK-NEXT: .b8 118
294 ; CHECK-NEXT: .b8 101
295 ; CHECK-NEXT: .b8 114
296 ; CHECK-NEXT: .b8 115
297 ; CHECK-NEXT: .b8 105
298 ; CHECK-NEXT: .b8 111
299 ; CHECK-NEXT: .b8 110
300 ; CHECK-NEXT: .b8 32
301 ; CHECK-NEXT: .b8 51
302 ; CHECK-NEXT: .b8 46
303 ; CHECK-NEXT: .b8 53
304 ; CHECK-NEXT: .b8 46
305 ; CHECK-NEXT: .b8 48
306 ; CHECK-NEXT: .b8 32
307 ; CHECK-NEXT: .b8 40
308 ; CHECK-NEXT: .b8 50
309 ; CHECK-NEXT: .b8 49
310 ; CHECK-NEXT: .b8 48
311 ; CHECK-NEXT: .b8 52
312 ; CHECK-NEXT: .b8 55
313 ; CHECK-NEXT: .b8 57
314 ; CHECK-NEXT: .b8 41
315 ; CHECK-NEXT: .b8 0
316 ; CHECK-NEXT: .b8 4                                   // DW_AT_language
317 ; CHECK-NEXT: .b8 0
318 ; CHECK-NEXT: .b8 100                                 // DW_AT_name
319 ; CHECK-NEXT: .b8 101
320 ; CHECK-NEXT: .b8 98
321 ; CHECK-NEXT: .b8 117
322 ; CHECK-NEXT: .b8 103
323 ; CHECK-NEXT: .b8 45
324 ; CHECK-NEXT: .b8 108
325 ; CHECK-NEXT: .b8 111
326 ; CHECK-NEXT: .b8 99
327 ; CHECK-NEXT: .b8 45
328 ; CHECK-NEXT: .b8 111
329 ; CHECK-NEXT: .b8 102
330 ; CHECK-NEXT: .b8 102
331 ; CHECK-NEXT: .b8 115
332 ; CHECK-NEXT: .b8 101
333 ; CHECK-NEXT: .b8 116
334 ; CHECK-NEXT: .b8 50
335 ; CHECK-NEXT: .b8 46
336 ; CHECK-NEXT: .b8 99
337 ; CHECK-NEXT: .b8 99
338 ; CHECK-NEXT: .b8 0
339 ; CHECK-NEXT: .b32 .debug_line                        // DW_AT_stmt_list
340 ; CHECK-NEXT: .b8 47                                  // DW_AT_comp_dir
341 ; CHECK-NEXT: .b8 108
342 ; CHECK-NEXT: .b8 108
343 ; CHECK-NEXT: .b8 118
344 ; CHECK-NEXT: .b8 109
345 ; CHECK-NEXT: .b8 95
346 ; CHECK-NEXT: .b8 99
347 ; CHECK-NEXT: .b8 109
348 ; CHECK-NEXT: .b8 97
349 ; CHECK-NEXT: .b8 107
350 ; CHECK-NEXT: .b8 101
351 ; CHECK-NEXT: .b8 95
352 ; CHECK-NEXT: .b8 103
353 ; CHECK-NEXT: .b8 99
354 ; CHECK-NEXT: .b8 99
355 ; CHECK-NEXT: .b8 0
356 ; CHECK-NEXT: .b8 2                                   // Abbrev [2] 0x54:0x4 DW_TAG_structure_type
357 ; CHECK-NEXT: .b8 65                                  // DW_AT_name
358 ; CHECK-NEXT: .b8 0
359 ; CHECK-NEXT: .b8 1                                   // DW_AT_declaration
360 ; CHECK-NEXT: .b8 3                                   // Abbrev [3] 0x58:0x3a DW_TAG_subprogram
361 ; CHECK-NEXT: .b64 $L__func_begin1                    // DW_AT_low_pc
362 ; CHECK-NEXT: .b64 $L__func_end1                      // DW_AT_high_pc
363 ; CHECK-NEXT: .b8 1                                   // DW_AT_frame_base
364 ; CHECK-NEXT: .b8 156
365 ; CHECK-NEXT: .b8 95                                  // DW_AT_MIPS_linkage_name
366 ; CHECK-NEXT: .b8 90
367 ; CHECK-NEXT: .b8 51
368 ; CHECK-NEXT: .b8 98
369 ; CHECK-NEXT: .b8 97
370 ; CHECK-NEXT: .b8 122
371 ; CHECK-NEXT: .b8 49
372 ; CHECK-NEXT: .b8 65
373 ; CHECK-NEXT: .b8 0
374 ; CHECK-NEXT: .b8 98                                  // DW_AT_name
375 ; CHECK-NEXT: .b8 97
376 ; CHECK-NEXT: .b8 122
377 ; CHECK-NEXT: .b8 0
378 ; CHECK-NEXT: .b8 2                                   // DW_AT_decl_file
379 ; CHECK-NEXT: .b8 6                                   // DW_AT_decl_line
380 ; CHECK-NEXT: .b8 1                                   // DW_AT_external
381 ; CHECK-NEXT: .b8 4                                   // Abbrev [4] 0x7b:0x9 DW_TAG_formal_parameter
382 ; CHECK-NEXT: .b8 97                                  // DW_AT_name
383 ; CHECK-NEXT: .b8 0
384 ; CHECK-NEXT: .b8 2                                   // DW_AT_decl_file
385 ; CHECK-NEXT: .b8 6                                   // DW_AT_decl_line
386 ; CHECK-NEXT: .b32 84                                 // DW_AT_type
387 ; CHECK-NEXT: .b8 5                                   // Abbrev [5] 0x84:0xd DW_TAG_variable
388 ; CHECK-NEXT: .b8 122                                 // DW_AT_name
389 ; CHECK-NEXT: .b8 0
390 ; CHECK-NEXT: .b8 2                                   // DW_AT_decl_file
391 ; CHECK-NEXT: .b8 7                                   // DW_AT_decl_line
392 ; CHECK-NEXT: .b64 .debug_info+283                    // DW_AT_type
393 ; CHECK-NEXT: .b8 0                                   // End Of Children Mark
394 ; CHECK-NEXT: .b8 0                                   // End Of Children Mark
395 ; CHECK-NEXT: .b32 140                                // Length of Unit
396 ; CHECK-NEXT: .b8 2                                   // DWARF version number
397 ; CHECK-NEXT: .b8 0
398 ; CHECK-NEXT: .b32 .debug_abbrev                      // Offset Into Abbrev. Section
399 ; CHECK-NEXT: .b8 8                                   // Address Size (in bytes)
400 ; CHECK-NEXT: .b8 1                                   // Abbrev [1] 0xb:0x85 DW_TAG_compile_unit
401 ; CHECK-NEXT: .b8 99                                  // DW_AT_producer
402 ; CHECK-NEXT: .b8 108
403 ; CHECK-NEXT: .b8 97
404 ; CHECK-NEXT: .b8 110
405 ; CHECK-NEXT: .b8 103
406 ; CHECK-NEXT: .b8 32
407 ; CHECK-NEXT: .b8 118
408 ; CHECK-NEXT: .b8 101
409 ; CHECK-NEXT: .b8 114
410 ; CHECK-NEXT: .b8 115
411 ; CHECK-NEXT: .b8 105
412 ; CHECK-NEXT: .b8 111
413 ; CHECK-NEXT: .b8 110
414 ; CHECK-NEXT: .b8 32
415 ; CHECK-NEXT: .b8 51
416 ; CHECK-NEXT: .b8 46
417 ; CHECK-NEXT: .b8 53
418 ; CHECK-NEXT: .b8 46
419 ; CHECK-NEXT: .b8 48
420 ; CHECK-NEXT: .b8 32
421 ; CHECK-NEXT: .b8 40
422 ; CHECK-NEXT: .b8 50
423 ; CHECK-NEXT: .b8 49
424 ; CHECK-NEXT: .b8 48
425 ; CHECK-NEXT: .b8 52
426 ; CHECK-NEXT: .b8 55
427 ; CHECK-NEXT: .b8 57
428 ; CHECK-NEXT: .b8 41
429 ; CHECK-NEXT: .b8 0
430 ; CHECK-NEXT: .b8 4                                   // DW_AT_language
431 ; CHECK-NEXT: .b8 0
432 ; CHECK-NEXT: .b8 100                                 // DW_AT_name
433 ; CHECK-NEXT: .b8 101
434 ; CHECK-NEXT: .b8 98
435 ; CHECK-NEXT: .b8 117
436 ; CHECK-NEXT: .b8 103
437 ; CHECK-NEXT: .b8 45
438 ; CHECK-NEXT: .b8 108
439 ; CHECK-NEXT: .b8 111
440 ; CHECK-NEXT: .b8 99
441 ; CHECK-NEXT: .b8 45
442 ; CHECK-NEXT: .b8 111
443 ; CHECK-NEXT: .b8 102
444 ; CHECK-NEXT: .b8 102
445 ; CHECK-NEXT: .b8 115
446 ; CHECK-NEXT: .b8 101
447 ; CHECK-NEXT: .b8 116
448 ; CHECK-NEXT: .b8 49
449 ; CHECK-NEXT: .b8 46
450 ; CHECK-NEXT: .b8 99
451 ; CHECK-NEXT: .b8 99
452 ; CHECK-NEXT: .b8 0
453 ; CHECK-NEXT: .b32 .debug_line                        // DW_AT_stmt_list
454 ; CHECK-NEXT: .b8 47                                  // DW_AT_comp_dir
455 ; CHECK-NEXT: .b8 108
456 ; CHECK-NEXT: .b8 108
457 ; CHECK-NEXT: .b8 118
458 ; CHECK-NEXT: .b8 109
459 ; CHECK-NEXT: .b8 95
460 ; CHECK-NEXT: .b8 99
461 ; CHECK-NEXT: .b8 109
462 ; CHECK-NEXT: .b8 97
463 ; CHECK-NEXT: .b8 107
464 ; CHECK-NEXT: .b8 101
465 ; CHECK-NEXT: .b8 95
466 ; CHECK-NEXT: .b8 103
467 ; CHECK-NEXT: .b8 99
468 ; CHECK-NEXT: .b8 99
469 ; CHECK-NEXT: .b8 0
470 ; CHECK-NEXT: .b8 6                                   // Abbrev [6] 0x54:0x34 DW_TAG_subprogram
471 ; CHECK-NEXT: .b64 $L__func_begin0                    // DW_AT_low_pc
472 ; CHECK-NEXT: .b64 $L__func_end0                      // DW_AT_high_pc
473 ; CHECK-NEXT: .b8 1                                   // DW_AT_frame_base
474 ; CHECK-NEXT: .b8 156
475 ; CHECK-NEXT: .b8 95                                  // DW_AT_MIPS_linkage_name
476 ; CHECK-NEXT: .b8 90
477 ; CHECK-NEXT: .b8 51
478 ; CHECK-NEXT: .b8 98
479 ; CHECK-NEXT: .b8 97
480 ; CHECK-NEXT: .b8 114
481 ; CHECK-NEXT: .b8 105
482 ; CHECK-NEXT: .b8 0
483 ; CHECK-NEXT: .b8 98                                  // DW_AT_name
484 ; CHECK-NEXT: .b8 97
485 ; CHECK-NEXT: .b8 114
486 ; CHECK-NEXT: .b8 0
487 ; CHECK-NEXT: .b8 1                                   // DW_AT_decl_file
488 ; CHECK-NEXT: .b8 1                                   // DW_AT_decl_line
489 ; CHECK-NEXT: .b32 136                                // DW_AT_type
490 ; CHECK-NEXT: .b8 1                                   // DW_AT_external
491 ; CHECK-NEXT: .b8 7                                   // Abbrev [7] 0x7a:0xd DW_TAG_formal_parameter
492 ; CHECK-NEXT: .b32 $L__debug_loc0                     // DW_AT_location
493 ; CHECK-NEXT: .b8 98                                  // DW_AT_name
494 ; CHECK-NEXT: .b8 0
495 ; CHECK-NEXT: .b8 1                                   // DW_AT_decl_file
496 ; CHECK-NEXT: .b8 1                                   // DW_AT_decl_line
497 ; CHECK-NEXT: .b32 136                                // DW_AT_type
498 ; CHECK-NEXT: .b8 0                                   // End Of Children Mark
499 ; CHECK-NEXT: .b8 8                                   // Abbrev [8] 0x88:0x7 DW_TAG_base_type
500 ; CHECK-NEXT: .b8 105                                 // DW_AT_name
501 ; CHECK-NEXT: .b8 110
502 ; CHECK-NEXT: .b8 116
503 ; CHECK-NEXT: .b8 0
504 ; CHECK-NEXT: .b8 5                                   // DW_AT_encoding
505 ; CHECK-NEXT: .b8 4                                   // DW_AT_byte_size
506 ; CHECK-NEXT: .b8 0                                   // End Of Children Mark
507 ; CHECK-NEXT:   }
508 ; CHECK-NEXT:   .section        .debug_macinfo  {       }
509 ; CHECK-NOT: debug_