1/* This testcase is part of GDB, the GNU debugger.
2
3   Copyright 2013-2020 Free Software Foundation, Inc.
4
5   Contributed by Intel Corp. <markus.t.metzger@intel.com>
6
7   This program is free software; you can redistribute it and/or modify
8   it under the terms of the GNU General Public License as published by
9   the Free Software Foundation; either version 3 of the License, or
10   (at your option) any later version.
11
12   This program is distributed in the hope that it will be useful,
13   but WITHOUT ANY WARRANTY; without even the implied warranty of
14   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   GNU General Public License for more details.
16
17   You should have received a copy of the GNU General Public License
18   along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
20
21   This file has been generated using:
22   gcc -S -dA -g record_goto.c -o x86_64-record_goto.S  */
23
24	.file	"record_goto.c"
25	.section	.debug_abbrev,"",@progbits
26.Ldebug_abbrev0:
27	.section	.debug_info,"",@progbits
28.Ldebug_info0:
29	.section	.debug_line,"",@progbits
30.Ldebug_line0:
31	.text
32.Ltext0:
33.globl fun1
34	.type	fun1, @function
35fun1:
36.LFB0:
37	.file 1 "record_goto.c"
38	# record_goto.c:22
39	.loc 1 22 0
40	.cfi_startproc
41	# basic block 2
42	pushq	%rbp
43	.cfi_def_cfa_offset 16
44	movq	%rsp, %rbp
45	.cfi_offset 6, -16
46	.cfi_def_cfa_register 6
47	# record_goto.c:23
48	.loc 1 23 0
49	leave
50	.cfi_def_cfa 7, 8
51	ret
52	.cfi_endproc
53.LFE0:
54	.size	fun1, .-fun1
55.globl fun2
56	.type	fun2, @function
57fun2:
58.LFB1:
59	# record_goto.c:27
60	.loc 1 27 0
61	.cfi_startproc
62	# basic block 2
63	pushq	%rbp
64	.cfi_def_cfa_offset 16
65	movq	%rsp, %rbp
66	.cfi_offset 6, -16
67	.cfi_def_cfa_register 6
68	# record_goto.c:28
69	.loc 1 28 0
70	call	fun1
71	# record_goto.c:29
72	.loc 1 29 0
73	leave
74	.cfi_def_cfa 7, 8
75	ret
76	.cfi_endproc
77.LFE1:
78	.size	fun2, .-fun2
79.globl fun3
80	.type	fun3, @function
81fun3:
82.LFB2:
83	# record_goto.c:33
84	.loc 1 33 0
85	.cfi_startproc
86	# basic block 2
87	pushq	%rbp
88	.cfi_def_cfa_offset 16
89	movq	%rsp, %rbp
90	.cfi_offset 6, -16
91	.cfi_def_cfa_register 6
92	# record_goto.c:34
93	.loc 1 34 0
94	call	fun1
95	# record_goto.c:35
96	.loc 1 35 0
97	call	fun2
98	# record_goto.c:36
99	.loc 1 36 0
100	leave
101	.cfi_def_cfa 7, 8
102	ret
103	.cfi_endproc
104.LFE2:
105	.size	fun3, .-fun3
106.globl fun4
107	.type	fun4, @function
108fun4:
109.LFB3:
110	# record_goto.c:40
111	.loc 1 40 0
112	.cfi_startproc
113	# basic block 2
114	pushq	%rbp
115	.cfi_def_cfa_offset 16
116	movq	%rsp, %rbp
117	.cfi_offset 6, -16
118	.cfi_def_cfa_register 6
119	# record_goto.c:41
120	.loc 1 41 0
121	call	fun1
122	# record_goto.c:42
123	.loc 1 42 0
124	call	fun2
125	# record_goto.c:43
126	.loc 1 43 0
127	call	fun3
128	# record_goto.c:44
129	.loc 1 44 0
130	leave
131	.cfi_def_cfa 7, 8
132	ret
133	.cfi_endproc
134.LFE3:
135	.size	fun4, .-fun4
136.globl main
137	.type	main, @function
138main:
139.LFB4:
140	# record_goto.c:48
141	.loc 1 48 0
142	.cfi_startproc
143	# basic block 2
144	pushq	%rbp
145	.cfi_def_cfa_offset 16
146	movq	%rsp, %rbp
147	.cfi_offset 6, -16
148	.cfi_def_cfa_register 6
149	# record_goto.c:49
150	.loc 1 49 0
151	call	fun4
152	# record_goto.c:50
153	.loc 1 50 0
154	movl	$0, %eax
155	# record_goto.c:51
156	.loc 1 51 0
157	leave
158	.cfi_def_cfa 7, 8
159	ret
160	.cfi_endproc
161.LFE4:
162	.size	main, .-main
163.Letext0:
164	.section	.debug_info
165	.long	0xbc	# Length of Compilation Unit Info
166	.value	0x3	# DWARF version number
167	.long	.Ldebug_abbrev0	# Offset Into Abbrev. Section
168	.byte	0x8	# Pointer Size (in bytes)
169	.uleb128 0x1	# (DIE (0xb) DW_TAG_compile_unit)
170	.long	.LASF4	# DW_AT_producer: "GNU C 4.4.4 20100726 (Red Hat 4.4.4-13)"
171	.byte	0x1	# DW_AT_language
172	.long	.LASF5	# DW_AT_name: "record_goto.c"
173	.long	.LASF6	# DW_AT_comp_dir: ""
174	.quad	.Ltext0	# DW_AT_low_pc
175	.quad	.Letext0	# DW_AT_high_pc
176	.long	.Ldebug_line0	# DW_AT_stmt_list
177	.uleb128 0x2	# (DIE (0x2d) DW_TAG_subprogram)
178	.byte	0x1	# DW_AT_external
179	.long	.LASF0	# DW_AT_name: "fun1"
180	.byte	0x1	# DW_AT_decl_file (record_goto.c)
181	.byte	0x15	# DW_AT_decl_line
182	.byte	0x1	# DW_AT_prototyped
183	.quad	.LFB0	# DW_AT_low_pc
184	.quad	.LFE0	# DW_AT_high_pc
185	.byte	0x1	# DW_AT_frame_base
186	.byte	0x9c	# DW_OP_call_frame_cfa
187	.uleb128 0x2	# (DIE (0x48) DW_TAG_subprogram)
188	.byte	0x1	# DW_AT_external
189	.long	.LASF1	# DW_AT_name: "fun2"
190	.byte	0x1	# DW_AT_decl_file (record_goto.c)
191	.byte	0x1a	# DW_AT_decl_line
192	.byte	0x1	# DW_AT_prototyped
193	.quad	.LFB1	# DW_AT_low_pc
194	.quad	.LFE1	# DW_AT_high_pc
195	.byte	0x1	# DW_AT_frame_base
196	.byte	0x9c	# DW_OP_call_frame_cfa
197	.uleb128 0x2	# (DIE (0x63) DW_TAG_subprogram)
198	.byte	0x1	# DW_AT_external
199	.long	.LASF2	# DW_AT_name: "fun3"
200	.byte	0x1	# DW_AT_decl_file (record_goto.c)
201	.byte	0x20	# DW_AT_decl_line
202	.byte	0x1	# DW_AT_prototyped
203	.quad	.LFB2	# DW_AT_low_pc
204	.quad	.LFE2	# DW_AT_high_pc
205	.byte	0x1	# DW_AT_frame_base
206	.byte	0x9c	# DW_OP_call_frame_cfa
207	.uleb128 0x2	# (DIE (0x7e) DW_TAG_subprogram)
208	.byte	0x1	# DW_AT_external
209	.long	.LASF3	# DW_AT_name: "fun4"
210	.byte	0x1	# DW_AT_decl_file (record_goto.c)
211	.byte	0x27	# DW_AT_decl_line
212	.byte	0x1	# DW_AT_prototyped
213	.quad	.LFB3	# DW_AT_low_pc
214	.quad	.LFE3	# DW_AT_high_pc
215	.byte	0x1	# DW_AT_frame_base
216	.byte	0x9c	# DW_OP_call_frame_cfa
217	.uleb128 0x3	# (DIE (0x99) DW_TAG_subprogram)
218	.byte	0x1	# DW_AT_external
219	.long	.LASF7	# DW_AT_name: "main"
220	.byte	0x1	# DW_AT_decl_file (record_goto.c)
221	.byte	0x2f	# DW_AT_decl_line
222	.byte	0x1	# DW_AT_prototyped
223	.long	0xb8	# DW_AT_type
224	.quad	.LFB4	# DW_AT_low_pc
225	.quad	.LFE4	# DW_AT_high_pc
226	.byte	0x1	# DW_AT_frame_base
227	.byte	0x9c	# DW_OP_call_frame_cfa
228	.uleb128 0x4	# (DIE (0xb8) DW_TAG_base_type)
229	.byte	0x4	# DW_AT_byte_size
230	.byte	0x5	# DW_AT_encoding
231	.ascii "int\0"	# DW_AT_name
232	.byte	0x0	# end of children of DIE 0xb
233	.section	.debug_abbrev
234	.uleb128 0x1	# (abbrev code)
235	.uleb128 0x11	# (TAG: DW_TAG_compile_unit)
236	.byte	0x1	# DW_children_yes
237	.uleb128 0x25	# (DW_AT_producer)
238	.uleb128 0xe	# (DW_FORM_strp)
239	.uleb128 0x13	# (DW_AT_language)
240	.uleb128 0xb	# (DW_FORM_data1)
241	.uleb128 0x3	# (DW_AT_name)
242	.uleb128 0xe	# (DW_FORM_strp)
243	.uleb128 0x1b	# (DW_AT_comp_dir)
244	.uleb128 0xe	# (DW_FORM_strp)
245	.uleb128 0x11	# (DW_AT_low_pc)
246	.uleb128 0x1	# (DW_FORM_addr)
247	.uleb128 0x12	# (DW_AT_high_pc)
248	.uleb128 0x1	# (DW_FORM_addr)
249	.uleb128 0x10	# (DW_AT_stmt_list)
250	.uleb128 0x6	# (DW_FORM_data4)
251	.byte	0x0
252	.byte	0x0
253	.uleb128 0x2	# (abbrev code)
254	.uleb128 0x2e	# (TAG: DW_TAG_subprogram)
255	.byte	0x0	# DW_children_no
256	.uleb128 0x3f	# (DW_AT_external)
257	.uleb128 0xc	# (DW_FORM_flag)
258	.uleb128 0x3	# (DW_AT_name)
259	.uleb128 0xe	# (DW_FORM_strp)
260	.uleb128 0x3a	# (DW_AT_decl_file)
261	.uleb128 0xb	# (DW_FORM_data1)
262	.uleb128 0x3b	# (DW_AT_decl_line)
263	.uleb128 0xb	# (DW_FORM_data1)
264	.uleb128 0x27	# (DW_AT_prototyped)
265	.uleb128 0xc	# (DW_FORM_flag)
266	.uleb128 0x11	# (DW_AT_low_pc)
267	.uleb128 0x1	# (DW_FORM_addr)
268	.uleb128 0x12	# (DW_AT_high_pc)
269	.uleb128 0x1	# (DW_FORM_addr)
270	.uleb128 0x40	# (DW_AT_frame_base)
271	.uleb128 0xa	# (DW_FORM_block1)
272	.byte	0x0
273	.byte	0x0
274	.uleb128 0x3	# (abbrev code)
275	.uleb128 0x2e	# (TAG: DW_TAG_subprogram)
276	.byte	0x0	# DW_children_no
277	.uleb128 0x3f	# (DW_AT_external)
278	.uleb128 0xc	# (DW_FORM_flag)
279	.uleb128 0x3	# (DW_AT_name)
280	.uleb128 0xe	# (DW_FORM_strp)
281	.uleb128 0x3a	# (DW_AT_decl_file)
282	.uleb128 0xb	# (DW_FORM_data1)
283	.uleb128 0x3b	# (DW_AT_decl_line)
284	.uleb128 0xb	# (DW_FORM_data1)
285	.uleb128 0x27	# (DW_AT_prototyped)
286	.uleb128 0xc	# (DW_FORM_flag)
287	.uleb128 0x49	# (DW_AT_type)
288	.uleb128 0x13	# (DW_FORM_ref4)
289	.uleb128 0x11	# (DW_AT_low_pc)
290	.uleb128 0x1	# (DW_FORM_addr)
291	.uleb128 0x12	# (DW_AT_high_pc)
292	.uleb128 0x1	# (DW_FORM_addr)
293	.uleb128 0x40	# (DW_AT_frame_base)
294	.uleb128 0xa	# (DW_FORM_block1)
295	.byte	0x0
296	.byte	0x0
297	.uleb128 0x4	# (abbrev code)
298	.uleb128 0x24	# (TAG: DW_TAG_base_type)
299	.byte	0x0	# DW_children_no
300	.uleb128 0xb	# (DW_AT_byte_size)
301	.uleb128 0xb	# (DW_FORM_data1)
302	.uleb128 0x3e	# (DW_AT_encoding)
303	.uleb128 0xb	# (DW_FORM_data1)
304	.uleb128 0x3	# (DW_AT_name)
305	.uleb128 0x8	# (DW_FORM_string)
306	.byte	0x0
307	.byte	0x0
308	.byte	0x0
309	.section	.debug_pubnames,"",@progbits
310	.long	0x3b	# Length of Public Names Info
311	.value	0x2	# DWARF Version
312	.long	.Ldebug_info0	# Offset of Compilation Unit Info
313	.long	0xc0	# Compilation Unit Length
314	.long	0x2d	# DIE offset
315	.ascii "fun1\0"	# external name
316	.long	0x48	# DIE offset
317	.ascii "fun2\0"	# external name
318	.long	0x63	# DIE offset
319	.ascii "fun3\0"	# external name
320	.long	0x7e	# DIE offset
321	.ascii "fun4\0"	# external name
322	.long	0x99	# DIE offset
323	.ascii "main\0"	# external name
324	.long	0x0
325	.section	.debug_aranges,"",@progbits
326	.long	0x2c	# Length of Address Ranges Info
327	.value	0x2	# DWARF Version
328	.long	.Ldebug_info0	# Offset of Compilation Unit Info
329	.byte	0x8	# Size of Address
330	.byte	0x0	# Size of Segment Descriptor
331	.value	0x0	# Pad to 16 byte boundary
332	.value	0x0
333	.quad	.Ltext0	# Address
334	.quad	.Letext0-.Ltext0	# Length
335	.quad	0x0
336	.quad	0x0
337	.section	.debug_str,"MS",@progbits,1
338.LASF3:
339	.string	"fun4"
340.LASF5:
341	.string	"record_goto.c"
342.LASF4:
343	.string	"GNU C 4.4.4 20100726 (Red Hat 4.4.4-13)"
344.LASF7:
345	.string	"main"
346.LASF1:
347	.string	"fun2"
348.LASF0:
349	.string	"fun1"
350.LASF6:
351	.string	""
352.LASF2:
353	.string	"fun3"
354	.ident	"GCC: (GNU) 4.4.4 20100726 (Red Hat 4.4.4-13)"
355	.section	.note.GNU-stack,"",@progbits
356