xref: /llvm-project/bolt/test/X86/Inputs/dwarf5-df-cu-function-gc-helper.s (revision 01ef213b855da7a0e0ac7206d27c71f2f5345ca7)
1# int helper() {
2# return 1;
3# }
4
5	.text
6	.file	"helper.cpp"
7	.section	.text._Z6helperv,"ax",@progbits
8	.globl	_Z6helperv                      # -- Begin function _Z6helperv
9	.p2align	4, 0x90
10	.type	_Z6helperv,@function
11_Z6helperv:                             # @_Z6helperv
12.Lfunc_begin0:
13	.file	0 "." "helper.cpp" md5 0xf0d02b43e83785dc27fc4814c9d9262b
14	.loc	0 1 0                           # helper.cpp:1:0
15	.cfi_startproc
16# %bb.0:                                # %entry
17	pushq	%rbp
18	.cfi_def_cfa_offset 16
19	.cfi_offset %rbp, -16
20	movq	%rsp, %rbp
21	.cfi_def_cfa_register %rbp
22.Ltmp0:
23	.loc	0 2 1 prologue_end              # helper.cpp:2:1
24	movl	$1, %eax
25	.loc	0 2 1 epilogue_begin is_stmt 0  # helper.cpp:2:1
26	popq	%rbp
27	.cfi_def_cfa %rsp, 8
28	retq
29.Ltmp1:
30.Lfunc_end0:
31	.size	_Z6helperv, .Lfunc_end0-_Z6helperv
32	.cfi_endproc
33                                        # -- End function
34	.section	.debug_abbrev,"",@progbits
35	.byte	1                               # Abbreviation Code
36	.byte	74                              # DW_TAG_skeleton_unit
37	.byte	0                               # DW_CHILDREN_no
38	.byte	16                              # DW_AT_stmt_list
39	.byte	23                              # DW_FORM_sec_offset
40	.byte	114                             # DW_AT_str_offsets_base
41	.byte	23                              # DW_FORM_sec_offset
42	.byte	27                              # DW_AT_comp_dir
43	.byte	37                              # DW_FORM_strx1
44	.ascii	"\264B"                         # DW_AT_GNU_pubnames
45	.byte	25                              # DW_FORM_flag_present
46	.byte	118                             # DW_AT_dwo_name
47	.byte	37                              # DW_FORM_strx1
48	.byte	17                              # DW_AT_low_pc
49	.byte	27                              # DW_FORM_addrx
50	.byte	18                              # DW_AT_high_pc
51	.byte	6                               # DW_FORM_data4
52	.byte	115                             # DW_AT_addr_base
53	.byte	23                              # DW_FORM_sec_offset
54	.byte	0                               # EOM(1)
55	.byte	0                               # EOM(2)
56	.byte	0                               # EOM(3)
57	.section	.debug_info,"",@progbits
58.Lcu_begin0:
59	.long	.Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
60.Ldebug_info_start0:
61	.short	5                               # DWARF version number
62	.byte	4                               # DWARF Unit Type
63	.byte	8                               # Address Size (in bytes)
64	.long	.debug_abbrev                   # Offset Into Abbrev. Section
65	.quad	-1286039323196723149
66	.byte	1                               # Abbrev [1] 0x14:0x14 DW_TAG_skeleton_unit
67	.long	.Lline_table_start0             # DW_AT_stmt_list
68	.long	.Lstr_offsets_base0             # DW_AT_str_offsets_base
69	.byte	0                               # DW_AT_comp_dir
70                                        # DW_AT_GNU_pubnames
71	.byte	1                               # DW_AT_dwo_name
72	.byte	0                               # DW_AT_low_pc
73	.long	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc
74	.long	.Laddr_table_base0              # DW_AT_addr_base
75.Ldebug_info_end0:
76	.section	.debug_str_offsets,"",@progbits
77	.long	12                              # Length of String Offsets Set
78	.short	5
79	.short	0
80.Lstr_offsets_base0:
81	.section	.debug_str,"MS",@progbits,1
82.Lskel_string0:
83	.asciz	"." # string offset=0
84.Lskel_string1:
85	.asciz	"helper.dwo"                    # string offset=50
86	.section	.debug_str_offsets,"",@progbits
87	.long	.Lskel_string0
88	.long	.Lskel_string1
89	.section	.debug_str_offsets.dwo,"e",@progbits
90	.long	28                              # Length of String Offsets Set
91	.short	5
92	.short	0
93	.section	.debug_str.dwo,"eMS",@progbits,1
94.Linfo_string0:
95	.asciz	"_Z6helperv"                    # string offset=0
96.Linfo_string1:
97	.asciz	"helper"                        # string offset=11
98.Linfo_string2:
99	.asciz	"int"                           # string offset=18
100.Linfo_string3:
101	.asciz	"clang version 17.0.0 (https://github.com/llvm/llvm-project.git 640e07c49037cca41a1bfbeb916b569d8c950aea)" # string offset=22
102.Linfo_string4:
103	.asciz	"helper.cpp"                    # string offset=127
104.Linfo_string5:
105	.asciz	"helper.dwo"                    # string offset=138
106	.section	.debug_str_offsets.dwo,"e",@progbits
107	.long	0
108	.long	11
109	.long	18
110	.long	22
111	.long	127
112	.long	138
113	.section	.debug_info.dwo,"e",@progbits
114	.long	.Ldebug_info_dwo_end0-.Ldebug_info_dwo_start0 # Length of Unit
115.Ldebug_info_dwo_start0:
116	.short	5                               # DWARF version number
117	.byte	5                               # DWARF Unit Type
118	.byte	8                               # Address Size (in bytes)
119	.long	0                               # Offset Into Abbrev. Section
120	.quad	-1286039323196723149
121	.byte	1                               # Abbrev [1] 0x14:0x1b DW_TAG_compile_unit
122	.byte	3                               # DW_AT_producer
123	.short	33                              # DW_AT_language
124	.byte	4                               # DW_AT_name
125	.byte	5                               # DW_AT_dwo_name
126	.byte	2                               # Abbrev [2] 0x1a:0x10 DW_TAG_subprogram
127	.byte	0                               # DW_AT_low_pc
128	.long	.Lfunc_end0-.Lfunc_begin0       # DW_AT_high_pc
129	.byte	1                               # DW_AT_frame_base
130	.byte	86
131	.byte	0                               # DW_AT_linkage_name
132	.byte	1                               # DW_AT_name
133	.byte	0                               # DW_AT_decl_file
134	.byte	1                               # DW_AT_decl_line
135	.long	42                              # DW_AT_type
136                                        # DW_AT_external
137	.byte	3                               # Abbrev [3] 0x2a:0x4 DW_TAG_base_type
138	.byte	2                               # DW_AT_name
139	.byte	5                               # DW_AT_encoding
140	.byte	4                               # DW_AT_byte_size
141	.byte	0                               # End Of Children Mark
142.Ldebug_info_dwo_end0:
143	.section	.debug_abbrev.dwo,"e",@progbits
144	.byte	1                               # Abbreviation Code
145	.byte	17                              # DW_TAG_compile_unit
146	.byte	1                               # DW_CHILDREN_yes
147	.byte	37                              # DW_AT_producer
148	.byte	37                              # DW_FORM_strx1
149	.byte	19                              # DW_AT_language
150	.byte	5                               # DW_FORM_data2
151	.byte	3                               # DW_AT_name
152	.byte	37                              # DW_FORM_strx1
153	.byte	118                             # DW_AT_dwo_name
154	.byte	37                              # DW_FORM_strx1
155	.byte	0                               # EOM(1)
156	.byte	0                               # EOM(2)
157	.byte	2                               # Abbreviation Code
158	.byte	46                              # DW_TAG_subprogram
159	.byte	0                               # DW_CHILDREN_no
160	.byte	17                              # DW_AT_low_pc
161	.byte	27                              # DW_FORM_addrx
162	.byte	18                              # DW_AT_high_pc
163	.byte	6                               # DW_FORM_data4
164	.byte	64                              # DW_AT_frame_base
165	.byte	24                              # DW_FORM_exprloc
166	.byte	110                             # DW_AT_linkage_name
167	.byte	37                              # DW_FORM_strx1
168	.byte	3                               # DW_AT_name
169	.byte	37                              # DW_FORM_strx1
170	.byte	58                              # DW_AT_decl_file
171	.byte	11                              # DW_FORM_data1
172	.byte	59                              # DW_AT_decl_line
173	.byte	11                              # DW_FORM_data1
174	.byte	73                              # DW_AT_type
175	.byte	19                              # DW_FORM_ref4
176	.byte	63                              # DW_AT_external
177	.byte	25                              # DW_FORM_flag_present
178	.byte	0                               # EOM(1)
179	.byte	0                               # EOM(2)
180	.byte	3                               # Abbreviation Code
181	.byte	36                              # DW_TAG_base_type
182	.byte	0                               # DW_CHILDREN_no
183	.byte	3                               # DW_AT_name
184	.byte	37                              # DW_FORM_strx1
185	.byte	62                              # DW_AT_encoding
186	.byte	11                              # DW_FORM_data1
187	.byte	11                              # DW_AT_byte_size
188	.byte	11                              # DW_FORM_data1
189	.byte	0                               # EOM(1)
190	.byte	0                               # EOM(2)
191	.byte	0                               # EOM(3)
192	.section	.debug_addr,"",@progbits
193	.long	.Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution
194.Ldebug_addr_start0:
195	.short	5                               # DWARF version number
196	.byte	8                               # Address size
197	.byte	0                               # Segment selector size
198.Laddr_table_base0:
199	.quad	.Lfunc_begin0
200.Ldebug_addr_end0:
201	.section	.debug_gnu_pubnames,"",@progbits
202	.long	.LpubNames_end0-.LpubNames_start0 # Length of Public Names Info
203.LpubNames_start0:
204	.short	2                               # DWARF Version
205	.long	.Lcu_begin0                     # Offset of Compilation Unit Info
206	.long	40                              # Compilation Unit Length
207	.long	26                              # DIE offset
208	.byte	48                              # Attributes: FUNCTION, EXTERNAL
209	.asciz	"helper"                        # External Name
210	.long	0                               # End Mark
211.LpubNames_end0:
212	.section	.debug_gnu_pubtypes,"",@progbits
213	.long	.LpubTypes_end0-.LpubTypes_start0 # Length of Public Types Info
214.LpubTypes_start0:
215	.short	2                               # DWARF Version
216	.long	.Lcu_begin0                     # Offset of Compilation Unit Info
217	.long	40                              # Compilation Unit Length
218	.long	42                              # DIE offset
219	.byte	144                             # Attributes: TYPE, STATIC
220	.asciz	"int"                           # External Name
221	.long	0                               # End Mark
222.LpubTypes_end0:
223	.ident	"clang version 17.0.0 (https://github.com/llvm/llvm-project.git 640e07c49037cca41a1bfbeb916b569d8c950aea)"
224	.section	".note.GNU-stack","",@progbits
225	.addrsig
226	.section	.debug_line,"",@progbits
227.Lline_table_start0:
228