]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/gdb.arch/amd64-entry-value-param-dwarf5.S
30d54c68a4aad48e5d7a6a1641ece027fd42bdee
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.arch / amd64-entry-value-param-dwarf5.S
1 /* This testcase is part of GDB, the GNU debugger.
2
3 Copyright 2012-2019 Free Software Foundation, Inc.
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
17
18 /* This file is compiled from gdb.arch/amd64-entry-value-param-dwarf5.c
19 using -g -dA -S -O2. */
20
21 .file "amd64-entry-value-param-dwarf5.c"
22 .text
23 .Ltext0:
24 .p2align 4,,15
25 .type foo.isra.0.constprop.2, @function
26 foo.isra.0.constprop.2:
27 .LFB4:
28 /* gdb.arch/amd64-entry-value-param-dwarf5.c:21 */
29 .LM1:
30 .cfi_startproc
31 .LVL0:
32 /* BLOCK 2 freq:10000 seq:0 */
33 /* PRED: ENTRY [100.0%] (FALLTHRU) */
34 /* gdb.arch/amd64-entry-value-param-dwarf5.c:26 */
35 .LM2:
36 movl vv(%rip), %eax
37 addl $1, %eax
38 movl %eax, vv(%rip)
39 /* gdb.arch/amd64-entry-value-param-dwarf5.c:27 */
40 .LM3:
41 leal 3(%rdi), %eax
42 /* SUCC: EXIT [100.0%] */
43 /* gdb.arch/amd64-entry-value-param-dwarf5.c:28 */
44 .LM4:
45 ret
46 .cfi_endproc
47 .LFE4:
48 .size foo.isra.0.constprop.2, .-foo.isra.0.constprop.2
49 .p2align 4,,15
50 .type bar.constprop.1, @function
51 bar.constprop.1:
52 .LFB5:
53 /* gdb.arch/amd64-entry-value-param-dwarf5.c:31 */
54 .LM5:
55 .cfi_startproc
56 /* BLOCK 2 freq:10000 seq:0 */
57 /* PRED: ENTRY [100.0%] (FALLTHRU) */
58 .LVL1:
59 /* gdb.arch/amd64-entry-value-param-dwarf5.c:33 */
60 .LM6:
61 movl $10, %edi
62 call foo.isra.0.constprop.2
63 .LVL2:
64 movl $10, %edi
65 movl %eax, %edx
66 call foo.isra.0.constprop.2
67 .LVL3:
68 movl $16, %edi
69 addl %eax, %edx
70 call foo.isra.0.constprop.2
71 .LVL4:
72 leal 10(%rdx,%rax), %eax
73 /* SUCC: EXIT [100.0%] */
74 /* gdb.arch/amd64-entry-value-param-dwarf5.c:34 */
75 .LM7:
76 ret
77 .cfi_endproc
78 .LFE5:
79 .size bar.constprop.1, .-bar.constprop.1
80 .section .text.startup,"ax",@progbits
81 .p2align 4,,15
82 .globl main
83 .type main, @function
84 main:
85 .LFB2:
86 /* gdb.arch/amd64-entry-value-param-dwarf5.c:38 */
87 .LM8:
88 .cfi_startproc
89 /* BLOCK 2 freq:10000 seq:0 */
90 /* PRED: ENTRY [100.0%] (FALLTHRU) */
91 /* SUCC: EXIT [100.0%] (ABNORMAL,SIBCALL) */
92 /* gdb.arch/amd64-entry-value-param-dwarf5.c:39 */
93 .LM9:
94 jmp bar.constprop.1
95 .LVL5:
96 .cfi_endproc
97 .LFE2:
98 .size main, .-main
99 .comm vv,4,4
100 .text
101 .Letext0:
102 .section .debug_info,"",@progbits
103 .Ldebug_info0:
104 .long 0x199 /* Length of Compilation Unit Info */
105 .value 0x5 /* DWARF version number */
106 .byte 0x1 /* DW_UT_compile */
107 .byte 0x8 /* Pointer Size (in bytes) */
108 .long .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
109 .uleb128 0xa /* (DIE (0xc) DW_TAG_compile_unit) */
110 .long .LASF2 /* DW_AT_producer: "GNU C11 7.0.1 20170218 (experimental) -mtune=generic -march=x86-64 -gdwarf-5 -O2" */
111 .byte 0x1d /* DW_AT_language */
112 .long .LASF0 /* DW_AT_name: "gdb.arch/amd64-entry-value-param-dwarf5.c" */
113 .long .LASF1 /* DW_AT_comp_dir: "" */
114 .long .LLRL0 /* DW_AT_ranges */
115 .quad 0 /* DW_AT_low_pc */
116 .long .Ldebug_line0 /* DW_AT_stmt_list */
117 .uleb128 0xb /* (DIE (0x2a) DW_TAG_variable) */
118 .ascii "vv\0" /* DW_AT_name */
119 .byte 0x1 /* DW_AT_decl_file (gdb.arch/amd64-entry-value-param-dwarf5.c) */
120 .byte 0x12 /* DW_AT_decl_line */
121 .long 0x45 /* DW_AT_type */
122 /* DW_AT_external */
123 .uleb128 0x9 /* DW_AT_location */
124 .byte 0x3 /* DW_OP_addr */
125 .quad vv
126 .uleb128 0xc /* (DIE (0x3e) DW_TAG_base_type) */
127 .byte 0x4 /* DW_AT_byte_size */
128 .byte 0x5 /* DW_AT_encoding */
129 .ascii "int\0" /* DW_AT_name */
130 .uleb128 0xd /* (DIE (0x45) DW_TAG_volatile_type) */
131 .long 0x3e /* DW_AT_type */
132 .uleb128 0xe /* (DIE (0x4a) DW_TAG_subprogram) */
133 /* DW_AT_external */
134 .long .LASF3 /* DW_AT_name: "main" */
135 .byte 0x1 /* DW_AT_decl_file (gdb.arch/amd64-entry-value-param-dwarf5.c) */
136 .byte 0x25 /* DW_AT_decl_line */
137 /* DW_AT_prototyped */
138 .long 0x3e /* DW_AT_type */
139 .quad .LFB2 /* DW_AT_low_pc */
140 .quad .LFE2-.LFB2 /* DW_AT_high_pc */
141 .uleb128 0x1 /* DW_AT_frame_base */
142 .byte 0x9c /* DW_OP_call_frame_cfa */
143 /* DW_AT_call_all_calls */
144 .long 0x79 /* DW_AT_sibling */
145 .uleb128 0xf /* (DIE (0x6b) DW_TAG_call_site) */
146 .quad .LVL5 /* DW_AT_call_return_pc */
147 /* DW_AT_call_tail_call */
148 .long 0x125 /* DW_AT_call_origin */
149 .byte 0 /* end of children of DIE 0x4a */
150 .uleb128 0x5 /* (DIE (0x79) DW_TAG_subprogram) */
151 .ascii "bar\0" /* DW_AT_name */
152 /* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
153 .byte 0x1f /* DW_AT_decl_line */
154 /* DW_AT_prototyped */
155 .long 0x3e /* DW_AT_type */
156 .byte 0x1 /* DW_AT_inline */
157 .long 0x91 /* DW_AT_sibling */
158 .uleb128 0x1 /* (DIE (0x88) DW_TAG_formal_parameter) */
159 .ascii "x\0" /* DW_AT_name */
160 /* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
161 .byte 0x1f /* DW_AT_decl_line */
162 .long 0x3e /* DW_AT_type */
163 .byte 0 /* end of children of DIE 0x79 */
164 .uleb128 0x5 /* (DIE (0x91) DW_TAG_subprogram) */
165 .ascii "foo\0" /* DW_AT_name */
166 /* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
167 .byte 0x15 /* DW_AT_decl_line */
168 /* DW_AT_prototyped */
169 .long 0x3e /* DW_AT_type */
170 .byte 0 /* DW_AT_inline */
171 .long 0xd1 /* DW_AT_sibling */
172 .uleb128 0x1 /* (DIE (0xa0) DW_TAG_formal_parameter) */
173 .ascii "x\0" /* DW_AT_name */
174 /* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
175 .byte 0x15 /* DW_AT_decl_line */
176 .long 0x3e /* DW_AT_type */
177 .uleb128 0x1 /* (DIE (0xa8) DW_TAG_formal_parameter) */
178 .ascii "y\0" /* DW_AT_name */
179 /* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
180 .byte 0x15 /* DW_AT_decl_line */
181 .long 0x3e /* DW_AT_type */
182 .uleb128 0x1 /* (DIE (0xb0) DW_TAG_formal_parameter) */
183 .ascii "z\0" /* DW_AT_name */
184 /* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
185 .byte 0x15 /* DW_AT_decl_line */
186 .long 0x3e /* DW_AT_type */
187 .uleb128 0x2 /* (DIE (0xb8) DW_TAG_variable) */
188 .ascii "a\0" /* DW_AT_name */
189 /* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
190 .byte 0x17 /* DW_AT_decl_line */
191 .long 0x3e /* DW_AT_type */
192 .uleb128 0x2 /* (DIE (0xc0) DW_TAG_variable) */
193 .ascii "b\0" /* DW_AT_name */
194 /* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
195 .byte 0x18 /* DW_AT_decl_line */
196 .long 0x3e /* DW_AT_type */
197 .uleb128 0x2 /* (DIE (0xc8) DW_TAG_variable) */
198 .ascii "c\0" /* DW_AT_name */
199 /* DW_AT_decl_file (1, gdb.arch/amd64-entry-value-param-dwarf5.c) */
200 .byte 0x19 /* DW_AT_decl_line */
201 .long 0x3e /* DW_AT_type */
202 .byte 0 /* end of children of DIE 0x91 */
203 .uleb128 0x10 /* (DIE (0xd1) DW_TAG_subprogram) */
204 .long 0x91 /* DW_AT_abstract_origin */
205 .quad .LFB4 /* DW_AT_low_pc */
206 .quad .LFE4-.LFB4 /* DW_AT_high_pc */
207 .uleb128 0x1 /* DW_AT_frame_base */
208 .byte 0x9c /* DW_OP_call_frame_cfa */
209 /* DW_AT_call_all_calls */
210 .long 0x125 /* DW_AT_sibling */
211 .uleb128 0x6 /* (DIE (0xec) DW_TAG_formal_parameter) */
212 .long 0xa0 /* DW_AT_abstract_origin */
213 .uleb128 0x1 /* DW_AT_location */
214 .byte 0x55 /* DW_OP_reg5 */
215 .uleb128 0x6 /* (DIE (0xf3) DW_TAG_formal_parameter) */
216 .long 0xa8 /* DW_AT_abstract_origin */
217 .uleb128 0x6 /* DW_AT_location */
218 .byte 0xfa /* DW_OP_GNU_parameter_ref */
219 .long 0xa8
220 .byte 0x9f /* DW_OP_stack_value */
221 .uleb128 0x7 /* (DIE (0xff) DW_TAG_variable) */
222 .long 0xb8 /* DW_AT_abstract_origin */
223 .uleb128 0x5 /* DW_AT_location */
224 .byte 0x75 /* DW_OP_breg5 */
225 .sleb128 0
226 .byte 0x31 /* DW_OP_lit1 */
227 .byte 0x24 /* DW_OP_shl */
228 .byte 0x9f /* DW_OP_stack_value */
229 .uleb128 0x7 /* (DIE (0x10a) DW_TAG_variable) */
230 .long 0xc0 /* DW_AT_abstract_origin */
231 .uleb128 0x8 /* DW_AT_location */
232 .byte 0xfa /* DW_OP_GNU_parameter_ref */
233 .long 0xa8
234 .byte 0x31 /* DW_OP_lit1 */
235 .byte 0x24 /* DW_OP_shl */
236 .byte 0x9f /* DW_OP_stack_value */
237 .uleb128 0x11 /* (DIE (0x118) DW_TAG_variable) */
238 .long 0xc8 /* DW_AT_abstract_origin */
239 .byte 0x6 /* DW_AT_const_value */
240 .uleb128 0x8 /* (DIE (0x11e) DW_TAG_formal_parameter) */
241 .long 0xb0 /* DW_AT_abstract_origin */
242 .byte 0x3 /* DW_AT_const_value */
243 .byte 0 /* end of children of DIE 0xd1 */
244 .uleb128 0x12 /* (DIE (0x125) DW_TAG_subprogram) */
245 .long 0x79 /* DW_AT_abstract_origin */
246 .quad .LFB5 /* DW_AT_low_pc */
247 .quad .LFE5-.LFB5 /* DW_AT_high_pc */
248 .uleb128 0x1 /* DW_AT_frame_base */
249 .byte 0x9c /* DW_OP_call_frame_cfa */
250 /* DW_AT_call_all_calls */
251 .uleb128 0x8 /* (DIE (0x13c) DW_TAG_formal_parameter) */
252 .long 0x88 /* DW_AT_abstract_origin */
253 .byte 0xa /* DW_AT_const_value */
254 .uleb128 0x9 /* (DIE (0x142) DW_TAG_call_site) */
255 .quad .LVL2 /* DW_AT_call_return_pc */
256 .long 0xd1 /* DW_AT_call_origin */
257 .long 0x161 /* DW_AT_sibling */
258 .uleb128 0x3 /* (DIE (0x153) DW_TAG_call_site_parameter) */
259 .uleb128 0x1 /* DW_AT_location */
260 .byte 0x55 /* DW_OP_reg5 */
261 .uleb128 0x2 /* DW_AT_call_value */
262 .byte 0x75 /* DW_OP_breg5 */
263 .sleb128 0
264 .uleb128 0x4 /* (DIE (0x159) DW_TAG_call_site_parameter) */
265 .long 0xa8 /* DW_AT_call_parameter */
266 .uleb128 0x1 /* DW_AT_call_value */
267 .byte 0x32 /* DW_OP_lit2 */
268 .byte 0 /* end of children of DIE 0x142 */
269 .uleb128 0x9 /* (DIE (0x161) DW_TAG_call_site) */
270 .quad .LVL3 /* DW_AT_call_return_pc */
271 .long 0xd1 /* DW_AT_call_origin */
272 .long 0x180 /* DW_AT_sibling */
273 .uleb128 0x3 /* (DIE (0x172) DW_TAG_call_site_parameter) */
274 .uleb128 0x1 /* DW_AT_location */
275 .byte 0x55 /* DW_OP_reg5 */
276 .uleb128 0x2 /* DW_AT_call_value */
277 .byte 0x75 /* DW_OP_breg5 */
278 .sleb128 0
279 .uleb128 0x4 /* (DIE (0x178) DW_TAG_call_site_parameter) */
280 .long 0xa8 /* DW_AT_call_parameter */
281 .uleb128 0x1 /* DW_AT_call_value */
282 .byte 0x34 /* DW_OP_lit4 */
283 .byte 0 /* end of children of DIE 0x161 */
284 .uleb128 0x13 /* (DIE (0x180) DW_TAG_call_site) */
285 .quad .LVL4 /* DW_AT_call_return_pc */
286 .long 0xd1 /* DW_AT_call_origin */
287 .uleb128 0x3 /* (DIE (0x18d) DW_TAG_call_site_parameter) */
288 .uleb128 0x1 /* DW_AT_location */
289 .byte 0x55 /* DW_OP_reg5 */
290 .uleb128 0x2 /* DW_AT_call_value */
291 .byte 0x75 /* DW_OP_breg5 */
292 .sleb128 0
293 .uleb128 0x4 /* (DIE (0x193) DW_TAG_call_site_parameter) */
294 .long 0xa8 /* DW_AT_call_parameter */
295 .uleb128 0x1 /* DW_AT_call_value */
296 .byte 0x3a /* DW_OP_lit10 */
297 .byte 0 /* end of children of DIE 0x180 */
298 .byte 0 /* end of children of DIE 0x125 */
299 .byte 0 /* end of children of DIE 0xc */
300 .section .debug_abbrev,"",@progbits
301 .Ldebug_abbrev0:
302 .uleb128 0x1 /* (abbrev code) */
303 .uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
304 .byte 0 /* DW_children_no */
305 .uleb128 0x3 /* (DW_AT_name) */
306 .uleb128 0x8 /* (DW_FORM_string) */
307 .uleb128 0x3a /* (DW_AT_decl_file) */
308 .uleb128 0x21 /* (DW_FORM_implicit_const) */
309 .sleb128 1 /* (gdb.arch/amd64-entry-value-param-dwarf5.c) */
310 .uleb128 0x3b /* (DW_AT_decl_line) */
311 .uleb128 0xb /* (DW_FORM_data1) */
312 .uleb128 0x49 /* (DW_AT_type) */
313 .uleb128 0x13 /* (DW_FORM_ref4) */
314 .byte 0
315 .byte 0
316 .uleb128 0x2 /* (abbrev code) */
317 .uleb128 0x34 /* (TAG: DW_TAG_variable) */
318 .byte 0 /* DW_children_no */
319 .uleb128 0x3 /* (DW_AT_name) */
320 .uleb128 0x8 /* (DW_FORM_string) */
321 .uleb128 0x3a /* (DW_AT_decl_file) */
322 .uleb128 0x21 /* (DW_FORM_implicit_const) */
323 .sleb128 1 /* (gdb.arch/amd64-entry-value-param-dwarf5.c) */
324 .uleb128 0x3b /* (DW_AT_decl_line) */
325 .uleb128 0xb /* (DW_FORM_data1) */
326 .uleb128 0x49 /* (DW_AT_type) */
327 .uleb128 0x13 /* (DW_FORM_ref4) */
328 .byte 0
329 .byte 0
330 .uleb128 0x3 /* (abbrev code) */
331 .uleb128 0x49 /* (TAG: DW_TAG_call_site_parameter) */
332 .byte 0 /* DW_children_no */
333 .uleb128 0x2 /* (DW_AT_location) */
334 .uleb128 0x18 /* (DW_FORM_exprloc) */
335 .uleb128 0x7e /* (DW_AT_call_value) */
336 .uleb128 0x18 /* (DW_FORM_exprloc) */
337 .byte 0
338 .byte 0
339 .uleb128 0x4 /* (abbrev code) */
340 .uleb128 0x49 /* (TAG: DW_TAG_call_site_parameter) */
341 .byte 0 /* DW_children_no */
342 .uleb128 0x80 /* (DW_AT_call_parameter) */
343 .uleb128 0x13 /* (DW_FORM_ref4) */
344 .uleb128 0x7e /* (DW_AT_call_value) */
345 .uleb128 0x18 /* (DW_FORM_exprloc) */
346 .byte 0
347 .byte 0
348 .uleb128 0x5 /* (abbrev code) */
349 .uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
350 .byte 0x1 /* DW_children_yes */
351 .uleb128 0x3 /* (DW_AT_name) */
352 .uleb128 0x8 /* (DW_FORM_string) */
353 .uleb128 0x3a /* (DW_AT_decl_file) */
354 .uleb128 0x21 /* (DW_FORM_implicit_const) */
355 .sleb128 1 /* (gdb.arch/amd64-entry-value-param-dwarf5.c) */
356 .uleb128 0x3b /* (DW_AT_decl_line) */
357 .uleb128 0xb /* (DW_FORM_data1) */
358 .uleb128 0x27 /* (DW_AT_prototyped) */
359 .uleb128 0x19 /* (DW_FORM_flag_present) */
360 .uleb128 0x49 /* (DW_AT_type) */
361 .uleb128 0x13 /* (DW_FORM_ref4) */
362 .uleb128 0x20 /* (DW_AT_inline) */
363 .uleb128 0xb /* (DW_FORM_data1) */
364 .uleb128 0x1 /* (DW_AT_sibling) */
365 .uleb128 0x13 /* (DW_FORM_ref4) */
366 .byte 0
367 .byte 0
368 .uleb128 0x6 /* (abbrev code) */
369 .uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
370 .byte 0 /* DW_children_no */
371 .uleb128 0x31 /* (DW_AT_abstract_origin) */
372 .uleb128 0x13 /* (DW_FORM_ref4) */
373 .uleb128 0x2 /* (DW_AT_location) */
374 .uleb128 0x18 /* (DW_FORM_exprloc) */
375 .byte 0
376 .byte 0
377 .uleb128 0x7 /* (abbrev code) */
378 .uleb128 0x34 /* (TAG: DW_TAG_variable) */
379 .byte 0 /* DW_children_no */
380 .uleb128 0x31 /* (DW_AT_abstract_origin) */
381 .uleb128 0x13 /* (DW_FORM_ref4) */
382 .uleb128 0x2 /* (DW_AT_location) */
383 .uleb128 0x18 /* (DW_FORM_exprloc) */
384 .byte 0
385 .byte 0
386 .uleb128 0x8 /* (abbrev code) */
387 .uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
388 .byte 0 /* DW_children_no */
389 .uleb128 0x31 /* (DW_AT_abstract_origin) */
390 .uleb128 0x13 /* (DW_FORM_ref4) */
391 .uleb128 0x1c /* (DW_AT_const_value) */
392 .uleb128 0xb /* (DW_FORM_data1) */
393 .byte 0
394 .byte 0
395 .uleb128 0x9 /* (abbrev code) */
396 .uleb128 0x48 /* (TAG: DW_TAG_call_site) */
397 .byte 0x1 /* DW_children_yes */
398 .uleb128 0x7d /* (DW_AT_call_return_pc) */
399 .uleb128 0x1 /* (DW_FORM_addr) */
400 .uleb128 0x7f /* (DW_AT_call_origin) */
401 .uleb128 0x13 /* (DW_FORM_ref4) */
402 .uleb128 0x1 /* (DW_AT_sibling) */
403 .uleb128 0x13 /* (DW_FORM_ref4) */
404 .byte 0
405 .byte 0
406 .uleb128 0xa /* (abbrev code) */
407 .uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
408 .byte 0x1 /* DW_children_yes */
409 .uleb128 0x25 /* (DW_AT_producer) */
410 .uleb128 0xe /* (DW_FORM_strp) */
411 .uleb128 0x13 /* (DW_AT_language) */
412 .uleb128 0xb /* (DW_FORM_data1) */
413 .uleb128 0x3 /* (DW_AT_name) */
414 .uleb128 0x1f /* (DW_FORM_line_strp) */
415 .uleb128 0x1b /* (DW_AT_comp_dir) */
416 .uleb128 0x1f /* (DW_FORM_line_strp) */
417 .uleb128 0x55 /* (DW_AT_ranges) */
418 .uleb128 0x17 /* (DW_FORM_sec_offset) */
419 .uleb128 0x11 /* (DW_AT_low_pc) */
420 .uleb128 0x1 /* (DW_FORM_addr) */
421 .uleb128 0x10 /* (DW_AT_stmt_list) */
422 .uleb128 0x17 /* (DW_FORM_sec_offset) */
423 .byte 0
424 .byte 0
425 .uleb128 0xb /* (abbrev code) */
426 .uleb128 0x34 /* (TAG: DW_TAG_variable) */
427 .byte 0 /* DW_children_no */
428 .uleb128 0x3 /* (DW_AT_name) */
429 .uleb128 0x8 /* (DW_FORM_string) */
430 .uleb128 0x3a /* (DW_AT_decl_file) */
431 .uleb128 0xb /* (DW_FORM_data1) */
432 .uleb128 0x3b /* (DW_AT_decl_line) */
433 .uleb128 0xb /* (DW_FORM_data1) */
434 .uleb128 0x49 /* (DW_AT_type) */
435 .uleb128 0x13 /* (DW_FORM_ref4) */
436 .uleb128 0x3f /* (DW_AT_external) */
437 .uleb128 0x19 /* (DW_FORM_flag_present) */
438 .uleb128 0x2 /* (DW_AT_location) */
439 .uleb128 0x18 /* (DW_FORM_exprloc) */
440 .byte 0
441 .byte 0
442 .uleb128 0xc /* (abbrev code) */
443 .uleb128 0x24 /* (TAG: DW_TAG_base_type) */
444 .byte 0 /* DW_children_no */
445 .uleb128 0xb /* (DW_AT_byte_size) */
446 .uleb128 0xb /* (DW_FORM_data1) */
447 .uleb128 0x3e /* (DW_AT_encoding) */
448 .uleb128 0xb /* (DW_FORM_data1) */
449 .uleb128 0x3 /* (DW_AT_name) */
450 .uleb128 0x8 /* (DW_FORM_string) */
451 .byte 0
452 .byte 0
453 .uleb128 0xd /* (abbrev code) */
454 .uleb128 0x35 /* (TAG: DW_TAG_volatile_type) */
455 .byte 0 /* DW_children_no */
456 .uleb128 0x49 /* (DW_AT_type) */
457 .uleb128 0x13 /* (DW_FORM_ref4) */
458 .byte 0
459 .byte 0
460 .uleb128 0xe /* (abbrev code) */
461 .uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
462 .byte 0x1 /* DW_children_yes */
463 .uleb128 0x3f /* (DW_AT_external) */
464 .uleb128 0x19 /* (DW_FORM_flag_present) */
465 .uleb128 0x3 /* (DW_AT_name) */
466 .uleb128 0xe /* (DW_FORM_strp) */
467 .uleb128 0x3a /* (DW_AT_decl_file) */
468 .uleb128 0xb /* (DW_FORM_data1) */
469 .uleb128 0x3b /* (DW_AT_decl_line) */
470 .uleb128 0xb /* (DW_FORM_data1) */
471 .uleb128 0x27 /* (DW_AT_prototyped) */
472 .uleb128 0x19 /* (DW_FORM_flag_present) */
473 .uleb128 0x49 /* (DW_AT_type) */
474 .uleb128 0x13 /* (DW_FORM_ref4) */
475 .uleb128 0x11 /* (DW_AT_low_pc) */
476 .uleb128 0x1 /* (DW_FORM_addr) */
477 .uleb128 0x12 /* (DW_AT_high_pc) */
478 .uleb128 0x7 /* (DW_FORM_data8) */
479 .uleb128 0x40 /* (DW_AT_frame_base) */
480 .uleb128 0x18 /* (DW_FORM_exprloc) */
481 .uleb128 0x7a /* (DW_AT_call_all_calls) */
482 .uleb128 0x19 /* (DW_FORM_flag_present) */
483 .uleb128 0x1 /* (DW_AT_sibling) */
484 .uleb128 0x13 /* (DW_FORM_ref4) */
485 .byte 0
486 .byte 0
487 .uleb128 0xf /* (abbrev code) */
488 .uleb128 0x48 /* (TAG: DW_TAG_call_site) */
489 .byte 0 /* DW_children_no */
490 .uleb128 0x7d /* (DW_AT_call_return_pc) */
491 .uleb128 0x1 /* (DW_FORM_addr) */
492 .uleb128 0x82 /* (DW_AT_call_tail_call) */
493 .uleb128 0x19 /* (DW_FORM_flag_present) */
494 .uleb128 0x7f /* (DW_AT_call_origin) */
495 .uleb128 0x13 /* (DW_FORM_ref4) */
496 .byte 0
497 .byte 0
498 .uleb128 0x10 /* (abbrev code) */
499 .uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
500 .byte 0x1 /* DW_children_yes */
501 .uleb128 0x31 /* (DW_AT_abstract_origin) */
502 .uleb128 0x13 /* (DW_FORM_ref4) */
503 .uleb128 0x11 /* (DW_AT_low_pc) */
504 .uleb128 0x1 /* (DW_FORM_addr) */
505 .uleb128 0x12 /* (DW_AT_high_pc) */
506 .uleb128 0x7 /* (DW_FORM_data8) */
507 .uleb128 0x40 /* (DW_AT_frame_base) */
508 .uleb128 0x18 /* (DW_FORM_exprloc) */
509 .uleb128 0x7a /* (DW_AT_call_all_calls) */
510 .uleb128 0x19 /* (DW_FORM_flag_present) */
511 .uleb128 0x1 /* (DW_AT_sibling) */
512 .uleb128 0x13 /* (DW_FORM_ref4) */
513 .byte 0
514 .byte 0
515 .uleb128 0x11 /* (abbrev code) */
516 .uleb128 0x34 /* (TAG: DW_TAG_variable) */
517 .byte 0 /* DW_children_no */
518 .uleb128 0x31 /* (DW_AT_abstract_origin) */
519 .uleb128 0x13 /* (DW_FORM_ref4) */
520 .uleb128 0x1c /* (DW_AT_const_value) */
521 .uleb128 0xb /* (DW_FORM_data1) */
522 .byte 0
523 .byte 0
524 .uleb128 0x12 /* (abbrev code) */
525 .uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
526 .byte 0x1 /* DW_children_yes */
527 .uleb128 0x31 /* (DW_AT_abstract_origin) */
528 .uleb128 0x13 /* (DW_FORM_ref4) */
529 .uleb128 0x11 /* (DW_AT_low_pc) */
530 .uleb128 0x1 /* (DW_FORM_addr) */
531 .uleb128 0x12 /* (DW_AT_high_pc) */
532 .uleb128 0x7 /* (DW_FORM_data8) */
533 .uleb128 0x40 /* (DW_AT_frame_base) */
534 .uleb128 0x18 /* (DW_FORM_exprloc) */
535 .uleb128 0x7a /* (DW_AT_call_all_calls) */
536 .uleb128 0x19 /* (DW_FORM_flag_present) */
537 .byte 0
538 .byte 0
539 .uleb128 0x13 /* (abbrev code) */
540 .uleb128 0x48 /* (TAG: DW_TAG_call_site) */
541 .byte 0x1 /* DW_children_yes */
542 .uleb128 0x7d /* (DW_AT_call_return_pc) */
543 .uleb128 0x1 /* (DW_FORM_addr) */
544 .uleb128 0x7f /* (DW_AT_call_origin) */
545 .uleb128 0x13 /* (DW_FORM_ref4) */
546 .byte 0
547 .byte 0
548 .byte 0
549 .section .debug_aranges,"",@progbits
550 .long 0x3c /* Length of Address Ranges Info */
551 .value 0x2 /* DWARF Version */
552 .long .Ldebug_info0 /* Offset of Compilation Unit Info */
553 .byte 0x8 /* Size of Address */
554 .byte 0 /* Size of Segment Descriptor */
555 .value 0 /* Pad to 16 byte boundary */
556 .value 0
557 .quad .Ltext0 /* Address */
558 .quad .Letext0-.Ltext0 /* Length */
559 .quad .LFB2 /* Address */
560 .quad .LFE2-.LFB2 /* Length */
561 .quad 0
562 .quad 0
563 .section .debug_rnglists,"",@progbits
564 .Ldebug_ranges0:
565 .long .Ldebug_ranges3-.Ldebug_ranges2 /* Length of Range Lists */
566 .Ldebug_ranges2:
567 .value 0x5 /* DWARF Version */
568 .byte 0x8 /* Address Size */
569 .byte 0 /* Segment Size */
570 .long 0 /* Offset Entry Count */
571 .LLRL0:
572 .byte 0x7 /* DW_RLE_start_length (*.LLRL0) */
573 .quad .Ltext0 /* Range begin address (*.LLRL0) */
574 .uleb128 .Letext0-.Ltext0 /* Range length (*.LLRL0) */
575 .byte 0x7 /* DW_RLE_start_length (*.LLRL0) */
576 .quad .LFB2 /* Range begin address (*.LLRL0) */
577 .uleb128 .LFE2-.LFB2 /* Range length (*.LLRL0) */
578 .byte 0 /* DW_RLE_end_of_list (*.LLRL0) */
579 .Ldebug_ranges3:
580 .section .debug_line,"",@progbits
581 .Ldebug_line0:
582 .long .LELT0-.LSLT0 /* Length of Source Line Info */
583 .LSLT0:
584 .value 0x5 /* DWARF Version */
585 .byte 0x8 /* Address Size */
586 .byte 0 /* Segment Size */
587 .long .LELTP0-.LASLTP0 /* Prolog Length */
588 .LASLTP0:
589 .byte 0x1 /* Minimum Instruction Length */
590 .byte 0x1 /* Maximum Operations Per Instruction */
591 .byte 0x1 /* Default is_stmt_start flag */
592 .byte 0xf6 /* Line Base Value (Special Opcodes) */
593 .byte 0xf2 /* Line Range Value (Special Opcodes) */
594 .byte 0xd /* Special Opcode Base */
595 .byte 0 /* opcode: 0x1 has 0 args */
596 .byte 0x1 /* opcode: 0x2 has 1 args */
597 .byte 0x1 /* opcode: 0x3 has 1 args */
598 .byte 0x1 /* opcode: 0x4 has 1 args */
599 .byte 0x1 /* opcode: 0x5 has 1 args */
600 .byte 0 /* opcode: 0x6 has 0 args */
601 .byte 0 /* opcode: 0x7 has 0 args */
602 .byte 0 /* opcode: 0x8 has 0 args */
603 .byte 0x1 /* opcode: 0x9 has 1 args */
604 .byte 0 /* opcode: 0xa has 0 args */
605 .byte 0 /* opcode: 0xb has 0 args */
606 .byte 0x1 /* opcode: 0xc has 1 args */
607 .byte 0x1 /* Directory entry format count */
608 .uleb128 0x1 /* DW_LNCT_path */
609 .uleb128 0x1f /* DW_FORM_line_strp */
610 .uleb128 0x2 /* Directories count */
611 .long .LASF1 /* Directory Entry: 0: "" */
612 .long .LASF4 /* Directory Entry: 0: "gdb.arch" */
613 .byte 0x2 /* File name entry format count */
614 .uleb128 0x1 /* DW_LNCT_path */
615 .uleb128 0x1f /* DW_FORM_line_strp */
616 .uleb128 0x2 /* DW_LNCT_directory_index */
617 .uleb128 0xb /* DW_FORM_data1 */
618 .uleb128 0x2 /* File names count */
619 .long .LASF0 /* File Entry: 0: "gdb.arch/amd64-entry-value-param-dwarf5.c" */
620 .byte 0
621 .long .LASF5 /* File Entry: 0: "amd64-entry-value-param-dwarf5.c" */
622 .byte 0x1
623 .LELTP0:
624 .byte 0 /* set address *.LM8 */
625 .uleb128 0x9
626 .byte 0x2
627 .quad .LM8
628 .byte 0x3c /* line 38 */
629 .byte 0 /* set address *.LM9 */
630 .uleb128 0x9
631 .byte 0x2
632 .quad .LM9
633 .byte 0x18 /* line 39 */
634 .byte 0 /* set address *.LFE2 */
635 .uleb128 0x9
636 .byte 0x2
637 .quad .LFE2
638 .byte 0 /* end sequence */
639 .uleb128 0x1
640 .byte 0x1
641 .byte 0 /* set address *.LM1 */
642 .uleb128 0x9
643 .byte 0x2
644 .quad .LM1
645 .byte 0x2b /* line 21 */
646 .byte 0 /* set address *.LM2 */
647 .uleb128 0x9
648 .byte 0x2
649 .quad .LM2
650 .byte 0x1c /* line 26 */
651 .byte 0 /* set address *.LM3 */
652 .uleb128 0x9
653 .byte 0x2
654 .quad .LM3
655 .byte 0x18 /* line 27 */
656 .byte 0 /* set address *.LM4 */
657 .uleb128 0x9
658 .byte 0x2
659 .quad .LM4
660 .byte 0x18 /* line 28 */
661 .byte 0 /* set address *.LM5 */
662 .uleb128 0x9
663 .byte 0x2
664 .quad .LM5
665 .byte 0x1a /* line 31 */
666 .byte 0 /* set address *.LM6 */
667 .uleb128 0x9
668 .byte 0x2
669 .quad .LM6
670 .byte 0x19 /* line 33 */
671 .byte 0 /* set address *.LM7 */
672 .uleb128 0x9
673 .byte 0x2
674 .quad .LM7
675 .byte 0x18 /* line 34 */
676 .byte 0 /* set address *.Letext0 */
677 .uleb128 0x9
678 .byte 0x2
679 .quad .Letext0
680 .byte 0 /* end sequence */
681 .uleb128 0x1
682 .byte 0x1
683 .LELT0:
684 .section .debug_str,"MS",@progbits,1
685 .LASF2:
686 .string "GNU C11 7.0.1 20170218 (experimental) -mtune=generic -march=x86-64 -gdwarf-5 -O2"
687 .LASF3:
688 .string "main"
689 .section .debug_line_str,"MS",@progbits,1
690 .LASF5:
691 .string "amd64-entry-value-param-dwarf5.c"
692 .LASF0:
693 .string "gdb.arch/amd64-entry-value-param-dwarf5.c"
694 .LASF1:
695 .string ""
696 .LASF4:
697 .string "gdb.arch"
698 .ident "GCC: (GNU) 7.0.1 20170218 (experimental)"
699 .section .note.GNU-stack,"",@progbits