xref: /netbsd-src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/unwind-on-each-insn-amd64.s (revision f8cf1a9151c7af1cb0bd8b09c13c66bca599c027)
1	.file	"unwind-on-each-insn-foo.c"
2	.text
3.Ltext0:
4	.globl	foo
5	.type	foo, @function
6foo:
7.LFB0:
8	.file 1 "/home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/unwind-on-each-insn-foo.c"
9	# /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/unwind-on-each-insn-foo.c:20
10	.loc 1 20 0
11	.cfi_startproc
12# BLOCK 2 seq:0
13# PRED: ENTRY (FALLTHRU)
14	pushq	%rbp
15	.cfi_def_cfa_offset 16
16	.cfi_offset 6, -16
17	movq	%rsp, %rbp
18	.cfi_def_cfa_register 6
19	movq	%rdi, -8(%rbp)
20	# /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/unwind-on-each-insn-foo.c:22
21	.loc 1 22 0
22	nop
23	popq	%rbp
24	#.cfi_def_cfa 7, 8
25# SUCC: EXIT [100.0%]
26	ret
27	.cfi_endproc
28.LFE0:
29	.size	foo, .-foo
30	.globl	bar
31	.type	bar, @function
32bar:
33.LFB1:
34	# /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/unwind-on-each-insn-foo.c:26
35	.loc 1 26 0
36	.cfi_startproc
37# BLOCK 2 seq:0
38# PRED: ENTRY (FALLTHRU)
39	pushq	%rbp
40	.cfi_def_cfa_offset 16
41	.cfi_offset 6, -16
42	movq	%rsp, %rbp
43	.cfi_def_cfa_register 6
44	subq	$8, %rsp
45	movq	%rdi, -8(%rbp)
46	# /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/unwind-on-each-insn-foo.c:27
47	.loc 1 27 0
48	movq	-8(%rbp), %rax
49	movq	%rax, %rdi
50	call	foo
51	# /home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/unwind-on-each-insn-foo.c:28
52	.loc 1 28 0
53	nop
54	leave
55	#.cfi_def_cfa 7, 8
56# SUCC: EXIT [100.0%]
57	ret
58	.cfi_endproc
59.LFE1:
60	.size	bar, .-bar
61.Letext0:
62	.section	.debug_info,"",@progbits
63.Ldebug_info0:
64	.long	0x8c	# Length of Compilation Unit Info
65	.value	0x4	# DWARF version number
66	.long	.Ldebug_abbrev0	# Offset Into Abbrev. Section
67	.byte	0x8	# Pointer Size (in bytes)
68	.uleb128 0x1	# (DIE (0xb) DW_TAG_compile_unit)
69	.long	.LASF0	# DW_AT_producer: "GNU C11 4.4.7 -mtune=generic -march=x86-64 -g -fno-stack-protector"
70	.byte	0xc	# DW_AT_language
71	.long	.LASF1	# DW_AT_name: "/home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/unwind-on-each-insn-foo.c"
72	.long	.LASF2	# DW_AT_comp_dir: "/home/vries/gdb_versions/devel/build/gdb/testsuite"
73	.quad	.Ltext0	# DW_AT_low_pc
74	.quad	.Letext0-.Ltext0	# DW_AT_high_pc
75	.long	.Ldebug_line0	# DW_AT_stmt_list
76	.uleb128 0x2	# (DIE (0x2d) DW_TAG_subprogram)
77			# DW_AT_external
78	.ascii "bar\0"	# DW_AT_name
79	.byte	0x1	# DW_AT_decl_file (/home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/unwind-on-each-insn-foo.c)
80	.byte	0x19	# DW_AT_decl_line
81			# DW_AT_prototyped
82	.quad	.LFB1	# DW_AT_low_pc
83	.quad	.LFE1-.LFB1	# DW_AT_high_pc
84	.uleb128 0x1	# DW_AT_frame_base
85	.byte	0x9c	# DW_OP_call_frame_cfa
86			# DW_AT_GNU_all_tail_call_sites
87	.long	0x57	# DW_AT_sibling
88	.uleb128 0x3	# (DIE (0x4a) DW_TAG_formal_parameter)
89	.ascii "s\0"	# DW_AT_name
90	.byte	0x1	# DW_AT_decl_file (/home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/unwind-on-each-insn-foo.c)
91	.byte	0x19	# DW_AT_decl_line
92	.long	0x57	# DW_AT_type
93	.uleb128 0x2	# DW_AT_location
94	.byte	0x91	# DW_OP_fbreg
95	.sleb128 -24
96	.byte	0	# end of children of DIE 0x2d
97	.uleb128 0x4	# (DIE (0x57) DW_TAG_pointer_type)
98	.byte	0x8	# DW_AT_byte_size
99	.long	0x64	# DW_AT_type
100	.uleb128 0x5	# (DIE (0x5d) DW_TAG_base_type)
101	.byte	0x1	# DW_AT_byte_size
102	.byte	0x6	# DW_AT_encoding
103	.long	.LASF3	# DW_AT_name: "char"
104	.uleb128 0x6	# (DIE (0x64) DW_TAG_const_type)
105	.long	0x5d	# DW_AT_type
106	.uleb128 0x7	# (DIE (0x69) DW_TAG_subprogram)
107			# DW_AT_external
108	.ascii "foo\0"	# DW_AT_name
109	.byte	0x1	# DW_AT_decl_file (/home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/unwind-on-each-insn-foo.c)
110	.byte	0x13	# DW_AT_decl_line
111			# DW_AT_prototyped
112	.quad	.LFB0	# DW_AT_low_pc
113	.quad	.LFE0-.LFB0	# DW_AT_high_pc
114	.uleb128 0x1	# DW_AT_frame_base
115	.byte	0x9c	# DW_OP_call_frame_cfa
116			# DW_AT_GNU_all_call_sites
117	.uleb128 0x3	# (DIE (0x82) DW_TAG_formal_parameter)
118	.ascii "s\0"	# DW_AT_name
119	.byte	0x1	# DW_AT_decl_file (/home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/unwind-on-each-insn-foo.c)
120	.byte	0x13	# DW_AT_decl_line
121	.long	0x57	# DW_AT_type
122	.uleb128 0x2	# DW_AT_location
123	.byte	0x91	# DW_OP_fbreg
124	.sleb128 -24
125	.byte	0	# end of children of DIE 0x69
126	.byte	0	# end of children of DIE 0xb
127	.section	.debug_abbrev,"",@progbits
128.Ldebug_abbrev0:
129	.uleb128 0x1	# (abbrev code)
130	.uleb128 0x11	# (TAG: DW_TAG_compile_unit)
131	.byte	0x1	# DW_children_yes
132	.uleb128 0x25	# (DW_AT_producer)
133	.uleb128 0xe	# (DW_FORM_strp)
134	.uleb128 0x13	# (DW_AT_language)
135	.uleb128 0xb	# (DW_FORM_data1)
136	.uleb128 0x3	# (DW_AT_name)
137	.uleb128 0xe	# (DW_FORM_strp)
138	.uleb128 0x1b	# (DW_AT_comp_dir)
139	.uleb128 0xe	# (DW_FORM_strp)
140	.uleb128 0x11	# (DW_AT_low_pc)
141	.uleb128 0x1	# (DW_FORM_addr)
142	.uleb128 0x12	# (DW_AT_high_pc)
143	.uleb128 0x7	# (DW_FORM_data8)
144	.uleb128 0x10	# (DW_AT_stmt_list)
145	.uleb128 0x17	# (DW_FORM_sec_offset)
146	.byte	0
147	.byte	0
148	.uleb128 0x2	# (abbrev code)
149	.uleb128 0x2e	# (TAG: DW_TAG_subprogram)
150	.byte	0x1	# DW_children_yes
151	.uleb128 0x3f	# (DW_AT_external)
152	.uleb128 0x19	# (DW_FORM_flag_present)
153	.uleb128 0x3	# (DW_AT_name)
154	.uleb128 0x8	# (DW_FORM_string)
155	.uleb128 0x3a	# (DW_AT_decl_file)
156	.uleb128 0xb	# (DW_FORM_data1)
157	.uleb128 0x3b	# (DW_AT_decl_line)
158	.uleb128 0xb	# (DW_FORM_data1)
159	.uleb128 0x27	# (DW_AT_prototyped)
160	.uleb128 0x19	# (DW_FORM_flag_present)
161	.uleb128 0x11	# (DW_AT_low_pc)
162	.uleb128 0x1	# (DW_FORM_addr)
163	.uleb128 0x12	# (DW_AT_high_pc)
164	.uleb128 0x7	# (DW_FORM_data8)
165	.uleb128 0x40	# (DW_AT_frame_base)
166	.uleb128 0x18	# (DW_FORM_exprloc)
167	.uleb128 0x2116	# (DW_AT_GNU_all_tail_call_sites)
168	.uleb128 0x19	# (DW_FORM_flag_present)
169	.uleb128 0x1	# (DW_AT_sibling)
170	.uleb128 0x13	# (DW_FORM_ref4)
171	.byte	0
172	.byte	0
173	.uleb128 0x3	# (abbrev code)
174	.uleb128 0x5	# (TAG: DW_TAG_formal_parameter)
175	.byte	0	# DW_children_no
176	.uleb128 0x3	# (DW_AT_name)
177	.uleb128 0x8	# (DW_FORM_string)
178	.uleb128 0x3a	# (DW_AT_decl_file)
179	.uleb128 0xb	# (DW_FORM_data1)
180	.uleb128 0x3b	# (DW_AT_decl_line)
181	.uleb128 0xb	# (DW_FORM_data1)
182	.uleb128 0x49	# (DW_AT_type)
183	.uleb128 0x13	# (DW_FORM_ref4)
184	.uleb128 0x2	# (DW_AT_location)
185	.uleb128 0x18	# (DW_FORM_exprloc)
186	.byte	0
187	.byte	0
188	.uleb128 0x4	# (abbrev code)
189	.uleb128 0xf	# (TAG: DW_TAG_pointer_type)
190	.byte	0	# DW_children_no
191	.uleb128 0xb	# (DW_AT_byte_size)
192	.uleb128 0xb	# (DW_FORM_data1)
193	.uleb128 0x49	# (DW_AT_type)
194	.uleb128 0x13	# (DW_FORM_ref4)
195	.byte	0
196	.byte	0
197	.uleb128 0x5	# (abbrev code)
198	.uleb128 0x24	# (TAG: DW_TAG_base_type)
199	.byte	0	# DW_children_no
200	.uleb128 0xb	# (DW_AT_byte_size)
201	.uleb128 0xb	# (DW_FORM_data1)
202	.uleb128 0x3e	# (DW_AT_encoding)
203	.uleb128 0xb	# (DW_FORM_data1)
204	.uleb128 0x3	# (DW_AT_name)
205	.uleb128 0xe	# (DW_FORM_strp)
206	.byte	0
207	.byte	0
208	.uleb128 0x6	# (abbrev code)
209	.uleb128 0x26	# (TAG: DW_TAG_const_type)
210	.byte	0	# DW_children_no
211	.uleb128 0x49	# (DW_AT_type)
212	.uleb128 0x13	# (DW_FORM_ref4)
213	.byte	0
214	.byte	0
215	.uleb128 0x7	# (abbrev code)
216	.uleb128 0x2e	# (TAG: DW_TAG_subprogram)
217	.byte	0x1	# DW_children_yes
218	.uleb128 0x3f	# (DW_AT_external)
219	.uleb128 0x19	# (DW_FORM_flag_present)
220	.uleb128 0x3	# (DW_AT_name)
221	.uleb128 0x8	# (DW_FORM_string)
222	.uleb128 0x3a	# (DW_AT_decl_file)
223	.uleb128 0xb	# (DW_FORM_data1)
224	.uleb128 0x3b	# (DW_AT_decl_line)
225	.uleb128 0xb	# (DW_FORM_data1)
226	.uleb128 0x27	# (DW_AT_prototyped)
227	.uleb128 0x19	# (DW_FORM_flag_present)
228	.uleb128 0x11	# (DW_AT_low_pc)
229	.uleb128 0x1	# (DW_FORM_addr)
230	.uleb128 0x12	# (DW_AT_high_pc)
231	.uleb128 0x7	# (DW_FORM_data8)
232	.uleb128 0x40	# (DW_AT_frame_base)
233	.uleb128 0x18	# (DW_FORM_exprloc)
234	.uleb128 0x2117	# (DW_AT_GNU_all_call_sites)
235	.uleb128 0x19	# (DW_FORM_flag_present)
236	.byte	0
237	.byte	0
238	.byte	0
239	.section	.debug_aranges,"",@progbits
240	.long	0x2c	# Length of Address Ranges Info
241	.value	0x2	# DWARF Version
242	.long	.Ldebug_info0	# Offset of Compilation Unit Info
243	.byte	0x8	# Size of Address
244	.byte	0	# Size of Segment Descriptor
245	.value	0	# Pad to 16 byte boundary
246	.value	0
247	.quad	.Ltext0	# Address
248	.quad	.Letext0-.Ltext0	# Length
249	.quad	0
250	.quad	0
251	.section	.debug_line,"",@progbits
252.Ldebug_line0:
253	.section	.debug_str,"MS",@progbits,1
254.LASF0:
255	.string	"GNU C11 4.4.7 -mtune=generic -march=x86-64 -g -fno-stack-protector"
256.LASF1:
257	.string	"/home/vries/gdb_versions/devel/src/gdb/testsuite/gdb.base/unwind-on-each-insn-foo.c"
258.LASF2:
259	.string	"/home/vries/gdb_versions/devel/build/gdb/testsuite"
260.LASF3:
261	.string	"char"
262	.ident	"GCC: (SUSE Linux) 7.5.0"
263	.section	.note.GNU-stack,"",@progbits
264