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