1 ; RUN: llc -mtriple=nvptx64-nvidia-cuda < %s | FileCheck %s
2 ; RUN: %if ptxas %{ llc -mtriple=nvptx64-nvidia-cuda < %s | %ptxas-verify %}
4 ; CHECK: .target sm_{{[0-9]+}}, debug
6 ; CHECK: .extern .func (.param .b32 func_retval0) _ZN1A3fooEv
8 ; CHECK: .param .b64 _ZN1A3fooEv_param_0
11 %struct.A = type { ptr, i32 }
13 ; CHECK: .visible .func (.param .b32 func_retval0) _Z3bari(
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
25 ; Function Attrs: nounwind
26 define i32 @_Z3bari(i32 %b) #0 !dbg !4 {
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(
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
53 define void @_Z3baz1A(ptr %a) #2 !dbg !14 {
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
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")
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)
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")
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)
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)
135 ; CHECK: .section .debug_abbrev
137 ; CHECK-NEXT: .b8 1 // Abbreviation Code
138 ; CHECK-NEXT: .b8 17 // DW_TAG_compile_unit
139 ; CHECK-NEXT: .b8 1 // DW_CHILDREN_yes
140 ; CHECK-NEXT: .b8 37 // DW_AT_producer
141 ; CHECK-NEXT: .b8 8 // DW_FORM_string
142 ; CHECK-NEXT: .b8 19 // DW_AT_language
143 ; CHECK-NEXT: .b8 5 // DW_FORM_data2
144 ; CHECK-NEXT: .b8 3 // DW_AT_name
145 ; CHECK-NEXT: .b8 8 // DW_FORM_string
146 ; CHECK-NEXT: .b8 16 // DW_AT_stmt_list
147 ; CHECK-NEXT: .b8 6 // DW_FORM_data4
148 ; CHECK-NEXT: .b8 27 // DW_AT_comp_dir
149 ; CHECK-NEXT: .b8 8 // DW_FORM_string
150 ; CHECK-NEXT: .b8 17 // DW_AT_low_pc
151 ; CHECK-NEXT: .b8 1 // DW_FORM_addr
152 ; CHECK-NEXT: .b8 18 // DW_AT_high_pc
153 ; CHECK-NEXT: .b8 1 // DW_FORM_addr
154 ; CHECK-NEXT: .b8 0 // EOM(1)
155 ; CHECK-NEXT: .b8 0 // EOM(2)
156 ; CHECK-NEXT: .b8 2 // Abbreviation Code
157 ; CHECK-NEXT: .b8 19 // DW_TAG_structure_type
158 ; CHECK-NEXT: .b8 0 // DW_CHILDREN_no
159 ; CHECK-NEXT: .b8 3 // DW_AT_name
160 ; CHECK-NEXT: .b8 8 // DW_FORM_string
161 ; CHECK-NEXT: .b8 60 // DW_AT_declaration
162 ; CHECK-NEXT: .b8 12 // DW_FORM_flag
163 ; CHECK-NEXT: .b8 0 // EOM(1)
164 ; CHECK-NEXT: .b8 0 // EOM(2)
165 ; CHECK-NEXT: .b8 3 // Abbreviation Code
166 ; CHECK-NEXT: .b8 46 // DW_TAG_subprogram
167 ; CHECK-NEXT: .b8 1 // DW_CHILDREN_yes
168 ; CHECK-NEXT: .b8 17 // DW_AT_low_pc
169 ; CHECK-NEXT: .b8 1 // DW_FORM_addr
170 ; CHECK-NEXT: .b8 18 // DW_AT_high_pc
171 ; CHECK-NEXT: .b8 1 // DW_FORM_addr
172 ; CHECK-NEXT: .b8 64 // DW_AT_frame_base
173 ; CHECK-NEXT: .b8 10 // DW_FORM_block1
174 ; CHECK-NEXT: .b8 135 // DW_AT_MIPS_linkage_name
176 ; CHECK-NEXT: .b8 8 // DW_FORM_string
177 ; CHECK-NEXT: .b8 3 // DW_AT_name
178 ; CHECK-NEXT: .b8 8 // DW_FORM_string
179 ; CHECK-NEXT: .b8 58 // DW_AT_decl_file
180 ; CHECK-NEXT: .b8 11 // DW_FORM_data1
181 ; CHECK-NEXT: .b8 59 // DW_AT_decl_line
182 ; CHECK-NEXT: .b8 11 // DW_FORM_data1
183 ; CHECK-NEXT: .b8 63 // DW_AT_external
184 ; CHECK-NEXT: .b8 12 // DW_FORM_flag
185 ; CHECK-NEXT: .b8 0 // EOM(1)
186 ; CHECK-NEXT: .b8 0 // EOM(2)
187 ; CHECK-NEXT: .b8 4 // Abbreviation Code
188 ; CHECK-NEXT: .b8 5 // DW_TAG_formal_parameter
189 ; CHECK-NEXT: .b8 0 // DW_CHILDREN_no
190 ; CHECK-NEXT: .b8 3 // DW_AT_name
191 ; CHECK-NEXT: .b8 8 // DW_FORM_string
192 ; CHECK-NEXT: .b8 58 // DW_AT_decl_file
193 ; CHECK-NEXT: .b8 11 // DW_FORM_data1
194 ; CHECK-NEXT: .b8 59 // DW_AT_decl_line
195 ; CHECK-NEXT: .b8 11 // DW_FORM_data1
196 ; CHECK-NEXT: .b8 73 // DW_AT_type
197 ; CHECK-NEXT: .b8 19 // DW_FORM_ref4
198 ; CHECK-NEXT: .b8 0 // EOM(1)
199 ; CHECK-NEXT: .b8 0 // EOM(2)
200 ; CHECK-NEXT: .b8 5 // Abbreviation Code
201 ; CHECK-NEXT: .b8 52 // DW_TAG_variable
202 ; CHECK-NEXT: .b8 0 // DW_CHILDREN_no
203 ; CHECK-NEXT: .b8 3 // DW_AT_name
204 ; CHECK-NEXT: .b8 8 // DW_FORM_string
205 ; CHECK-NEXT: .b8 58 // DW_AT_decl_file
206 ; CHECK-NEXT: .b8 11 // DW_FORM_data1
207 ; CHECK-NEXT: .b8 59 // DW_AT_decl_line
208 ; CHECK-NEXT: .b8 11 // DW_FORM_data1
209 ; CHECK-NEXT: .b8 73 // DW_AT_type
210 ; CHECK-NEXT: .b8 16 // DW_FORM_ref_addr
211 ; CHECK-NEXT: .b8 0 // EOM(1)
212 ; CHECK-NEXT: .b8 0 // EOM(2)
213 ; CHECK-NEXT: .b8 6 // Abbreviation Code
214 ; CHECK-NEXT: .b8 46 // DW_TAG_subprogram
215 ; CHECK-NEXT: .b8 1 // DW_CHILDREN_yes
216 ; CHECK-NEXT: .b8 17 // DW_AT_low_pc
217 ; CHECK-NEXT: .b8 1 // DW_FORM_addr
218 ; CHECK-NEXT: .b8 18 // DW_AT_high_pc
219 ; CHECK-NEXT: .b8 1 // DW_FORM_addr
220 ; CHECK-NEXT: .b8 64 // DW_AT_frame_base
221 ; CHECK-NEXT: .b8 10 // DW_FORM_block1
222 ; CHECK-NEXT: .b8 135 // DW_AT_MIPS_linkage_name
224 ; CHECK-NEXT: .b8 8 // DW_FORM_string
225 ; CHECK-NEXT: .b8 3 // DW_AT_name
226 ; CHECK-NEXT: .b8 8 // DW_FORM_string
227 ; CHECK-NEXT: .b8 58 // DW_AT_decl_file
228 ; CHECK-NEXT: .b8 11 // DW_FORM_data1
229 ; CHECK-NEXT: .b8 59 // DW_AT_decl_line
230 ; CHECK-NEXT: .b8 11 // DW_FORM_data1
231 ; CHECK-NEXT: .b8 73 // DW_AT_type
232 ; CHECK-NEXT: .b8 19 // DW_FORM_ref4
233 ; CHECK-NEXT: .b8 63 // DW_AT_external
234 ; CHECK-NEXT: .b8 12 // DW_FORM_flag
235 ; CHECK-NEXT: .b8 0 // EOM(1)
236 ; CHECK-NEXT: .b8 0 // EOM(2)
237 ; CHECK-NEXT: .b8 7 // Abbreviation Code
238 ; CHECK-NEXT: .b8 36 // DW_TAG_base_type
239 ; CHECK-NEXT: .b8 0 // DW_CHILDREN_no
240 ; CHECK-NEXT: .b8 3 // DW_AT_name
241 ; CHECK-NEXT: .b8 8 // DW_FORM_string
242 ; CHECK-NEXT: .b8 62 // DW_AT_encoding
243 ; CHECK-NEXT: .b8 11 // DW_FORM_data1
244 ; CHECK-NEXT: .b8 11 // DW_AT_byte_size
245 ; CHECK-NEXT: .b8 11 // DW_FORM_data1
246 ; CHECK-NEXT: .b8 0 // EOM(1)
247 ; CHECK-NEXT: .b8 0 // EOM(2)
248 ; CHECK-NEXT: .b8 0 // EOM(3)
250 ; CHECK-NEXT: .section .debug_info
252 ; CHECK-NEXT: .b32 159 // Length of Unit
253 ; CHECK-NEXT: .b8 2 // DWARF version number
255 ; CHECK-NEXT: .b32 .debug_abbrev // Offset Into Abbrev. Section
256 ; CHECK-NEXT: .b8 8 // Address Size (in bytes)
257 ; CHECK-NEXT: .b8 1 // Abbrev [1] 0xb:0x98 DW_TAG_compile_unit
258 ; CHECK-NEXT: .b8 99 // DW_AT_producer
259 ; CHECK-NEXT: .b8 108
261 ; CHECK-NEXT: .b8 110
262 ; CHECK-NEXT: .b8 103
264 ; CHECK-NEXT: .b8 118
265 ; CHECK-NEXT: .b8 101
266 ; CHECK-NEXT: .b8 114
267 ; CHECK-NEXT: .b8 115
268 ; CHECK-NEXT: .b8 105
269 ; CHECK-NEXT: .b8 111
270 ; CHECK-NEXT: .b8 110
287 ; CHECK-NEXT: .b8 4 // DW_AT_language
289 ; CHECK-NEXT: .b8 100 // DW_AT_name
290 ; CHECK-NEXT: .b8 101
292 ; CHECK-NEXT: .b8 117
293 ; CHECK-NEXT: .b8 103
295 ; CHECK-NEXT: .b8 108
296 ; CHECK-NEXT: .b8 111
299 ; CHECK-NEXT: .b8 111
300 ; CHECK-NEXT: .b8 102
301 ; CHECK-NEXT: .b8 102
302 ; CHECK-NEXT: .b8 115
303 ; CHECK-NEXT: .b8 101
304 ; CHECK-NEXT: .b8 116
310 ; CHECK-NEXT: .b32 .debug_line // DW_AT_stmt_list
311 ; CHECK-NEXT: .b8 47 // DW_AT_comp_dir
312 ; CHECK-NEXT: .b8 108
313 ; CHECK-NEXT: .b8 108
314 ; CHECK-NEXT: .b8 118
315 ; CHECK-NEXT: .b8 109
318 ; CHECK-NEXT: .b8 109
320 ; CHECK-NEXT: .b8 107
321 ; CHECK-NEXT: .b8 101
323 ; CHECK-NEXT: .b8 103
327 ; CHECK-NEXT: .b64 $L__func_begin1 // DW_AT_low_pc
328 ; CHECK-NEXT: .b64 $L__func_end1 // DW_AT_high_pc
329 ; CHECK-NEXT: .b8 2 // Abbrev [2] 0x64:0x4 DW_TAG_structure_type
330 ; CHECK-NEXT: .b8 65 // DW_AT_name
332 ; CHECK-NEXT: .b8 1 // DW_AT_declaration
333 ; CHECK-NEXT: .b8 3 // Abbrev [3] 0x68:0x3a DW_TAG_subprogram
334 ; CHECK-NEXT: .b64 $L__func_begin1 // DW_AT_low_pc
335 ; CHECK-NEXT: .b64 $L__func_end1 // DW_AT_high_pc
336 ; CHECK-NEXT: .b8 1 // DW_AT_frame_base
337 ; CHECK-NEXT: .b8 156
338 ; CHECK-NEXT: .b8 95 // DW_AT_MIPS_linkage_name
343 ; CHECK-NEXT: .b8 122
347 ; CHECK-NEXT: .b8 98 // DW_AT_name
349 ; CHECK-NEXT: .b8 122
351 ; CHECK-NEXT: .b8 2 // DW_AT_decl_file
352 ; CHECK-NEXT: .b8 6 // DW_AT_decl_line
353 ; CHECK-NEXT: .b8 1 // DW_AT_external
354 ; CHECK-NEXT: .b8 4 // Abbrev [4] 0x8b:0x9 DW_TAG_formal_parameter
355 ; CHECK-NEXT: .b8 97 // DW_AT_name
357 ; CHECK-NEXT: .b8 2 // DW_AT_decl_file
358 ; CHECK-NEXT: .b8 6 // DW_AT_decl_line
359 ; CHECK-NEXT: .b32 100 // DW_AT_type
360 ; CHECK-NEXT: .b8 5 // Abbrev [5] 0x94:0xd DW_TAG_variable
361 ; CHECK-NEXT: .b8 122 // DW_AT_name
363 ; CHECK-NEXT: .b8 2 // DW_AT_decl_file
364 ; CHECK-NEXT: .b8 7 // DW_AT_decl_line
365 ; CHECK-NEXT: .b64 .debug_info+311 // DW_AT_type
366 ; CHECK-NEXT: .b8 0 // End Of Children Mark
367 ; CHECK-NEXT: .b8 0 // End Of Children Mark
368 ; CHECK-NEXT: .b32 152 // Length of Unit
369 ; CHECK-NEXT: .b8 2 // DWARF version number
371 ; CHECK-NEXT: .b32 .debug_abbrev // Offset Into Abbrev. Section
372 ; CHECK-NEXT: .b8 8 // Address Size (in bytes)
373 ; CHECK-NEXT: .b8 1 // Abbrev [1] 0xb:0x91 DW_TAG_compile_unit
374 ; CHECK-NEXT: .b8 99 // DW_AT_producer
375 ; CHECK-NEXT: .b8 108
377 ; CHECK-NEXT: .b8 110
378 ; CHECK-NEXT: .b8 103
380 ; CHECK-NEXT: .b8 118
381 ; CHECK-NEXT: .b8 101
382 ; CHECK-NEXT: .b8 114
383 ; CHECK-NEXT: .b8 115
384 ; CHECK-NEXT: .b8 105
385 ; CHECK-NEXT: .b8 111
386 ; CHECK-NEXT: .b8 110
403 ; CHECK-NEXT: .b8 4 // DW_AT_language
405 ; CHECK-NEXT: .b8 100 // DW_AT_name
406 ; CHECK-NEXT: .b8 101
408 ; CHECK-NEXT: .b8 117
409 ; CHECK-NEXT: .b8 103
411 ; CHECK-NEXT: .b8 108
412 ; CHECK-NEXT: .b8 111
415 ; CHECK-NEXT: .b8 111
416 ; CHECK-NEXT: .b8 102
417 ; CHECK-NEXT: .b8 102
418 ; CHECK-NEXT: .b8 115
419 ; CHECK-NEXT: .b8 101
420 ; CHECK-NEXT: .b8 116
426 ; CHECK-NEXT: .b32 .debug_line // DW_AT_stmt_list
427 ; CHECK-NEXT: .b8 47 // DW_AT_comp_dir
428 ; CHECK-NEXT: .b8 108
429 ; CHECK-NEXT: .b8 108
430 ; CHECK-NEXT: .b8 118
431 ; CHECK-NEXT: .b8 109
434 ; CHECK-NEXT: .b8 109
436 ; CHECK-NEXT: .b8 107
437 ; CHECK-NEXT: .b8 101
439 ; CHECK-NEXT: .b8 103
443 ; CHECK-NEXT: .b64 $L__func_begin0 // DW_AT_low_pc
444 ; CHECK-NEXT: .b64 $L__func_end0 // DW_AT_high_pc
445 ; CHECK-NEXT: .b8 6 // Abbrev [6] 0x64:0x30 DW_TAG_subprogram
446 ; CHECK-NEXT: .b64 $L__func_begin0 // DW_AT_low_pc
447 ; CHECK-NEXT: .b64 $L__func_end0 // DW_AT_high_pc
448 ; CHECK-NEXT: .b8 1 // DW_AT_frame_base
449 ; CHECK-NEXT: .b8 156
450 ; CHECK-NEXT: .b8 95 // DW_AT_MIPS_linkage_name
455 ; CHECK-NEXT: .b8 114
456 ; CHECK-NEXT: .b8 105
458 ; CHECK-NEXT: .b8 98 // DW_AT_name
460 ; CHECK-NEXT: .b8 114
462 ; CHECK-NEXT: .b8 1 // DW_AT_decl_file
463 ; CHECK-NEXT: .b8 1 // DW_AT_decl_line
464 ; CHECK-NEXT: .b32 148 // DW_AT_type
465 ; CHECK-NEXT: .b8 1 // DW_AT_external
466 ; CHECK-NEXT: .b8 4 // Abbrev [4] 0x8a:0x9 DW_TAG_formal_parameter
467 ; CHECK-NEXT: .b8 98 // DW_AT_name
469 ; CHECK-NEXT: .b8 1 // DW_AT_decl_file
470 ; CHECK-NEXT: .b8 1 // DW_AT_decl_line
471 ; CHECK-NEXT: .b32 148 // DW_AT_type
472 ; CHECK-NEXT: .b8 0 // End Of Children Mark
473 ; CHECK-NEXT: .b8 7 // Abbrev [7] 0x94:0x7 DW_TAG_base_type
474 ; CHECK-NEXT: .b8 105 // DW_AT_name
475 ; CHECK-NEXT: .b8 110
476 ; CHECK-NEXT: .b8 116
478 ; CHECK-NEXT: .b8 5 // DW_AT_encoding
479 ; CHECK-NEXT: .b8 4 // DW_AT_byte_size
480 ; CHECK-NEXT: .b8 0 // End Of Children Mark
482 ; CHECK-NEXT: .section .debug_loc { }