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