Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / test / X86 / Inputs / dwarf4-types-dwarf5-helper.s
blob701ee3e2e0890a9a4d57c54025688dd1c72b932a
1 # int foo() {
2 # return 0;
3 # }
6 .text
7 .file "helper.cpp"
8 .globl _Z3foov # -- Begin function _Z3foov
9 .p2align 4, 0x90
10 .type _Z3foov,@function
11 _Z3foov: # @_Z3foov
12 .Lfunc_begin0:
13 .file 0 "dwarf4-types-dwarf5-test" "helper.cpp" md5 0x95a4a33e7fe9423970d3c798fdf8ed43
14 .loc 0 1 0 # helper.cpp:1:0
15 .cfi_startproc
16 # %bb.0:
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 3 prologue_end # helper.cpp:2:3
24 xorl %eax, %eax
25 .loc 0 2 3 epilogue_begin is_stmt 0 # helper.cpp:2:3
26 popq %rbp
27 .cfi_def_cfa %rsp, 8
28 retq
29 .Ltmp1:
30 .Lfunc_end0:
31 .size _Z3foov, .Lfunc_end0-_Z3foov
32 .cfi_endproc
33 # -- End function
34 .section .debug_abbrev,"",@progbits
35 .byte 1 # Abbreviation Code
36 .byte 17 # DW_TAG_compile_unit
37 .byte 1 # DW_CHILDREN_yes
38 .byte 37 # DW_AT_producer
39 .byte 37 # DW_FORM_strx1
40 .byte 19 # DW_AT_language
41 .byte 5 # DW_FORM_data2
42 .byte 3 # DW_AT_name
43 .byte 37 # DW_FORM_strx1
44 .byte 114 # DW_AT_str_offsets_base
45 .byte 23 # DW_FORM_sec_offset
46 .byte 16 # DW_AT_stmt_list
47 .byte 23 # DW_FORM_sec_offset
48 .byte 27 # DW_AT_comp_dir
49 .byte 37 # DW_FORM_strx1
50 .byte 17 # DW_AT_low_pc
51 .byte 27 # DW_FORM_addrx
52 .byte 18 # DW_AT_high_pc
53 .byte 6 # DW_FORM_data4
54 .byte 115 # DW_AT_addr_base
55 .byte 23 # DW_FORM_sec_offset
56 .byte 0 # EOM(1)
57 .byte 0 # EOM(2)
58 .byte 2 # Abbreviation Code
59 .byte 46 # DW_TAG_subprogram
60 .byte 0 # DW_CHILDREN_no
61 .byte 17 # DW_AT_low_pc
62 .byte 27 # DW_FORM_addrx
63 .byte 18 # DW_AT_high_pc
64 .byte 6 # DW_FORM_data4
65 .byte 64 # DW_AT_frame_base
66 .byte 24 # DW_FORM_exprloc
67 .byte 110 # DW_AT_linkage_name
68 .byte 37 # DW_FORM_strx1
69 .byte 3 # DW_AT_name
70 .byte 37 # DW_FORM_strx1
71 .byte 58 # DW_AT_decl_file
72 .byte 11 # DW_FORM_data1
73 .byte 59 # DW_AT_decl_line
74 .byte 11 # DW_FORM_data1
75 .byte 73 # DW_AT_type
76 .byte 19 # DW_FORM_ref4
77 .byte 63 # DW_AT_external
78 .byte 25 # DW_FORM_flag_present
79 .byte 0 # EOM(1)
80 .byte 0 # EOM(2)
81 .byte 3 # Abbreviation Code
82 .byte 36 # DW_TAG_base_type
83 .byte 0 # DW_CHILDREN_no
84 .byte 3 # DW_AT_name
85 .byte 37 # DW_FORM_strx1
86 .byte 62 # DW_AT_encoding
87 .byte 11 # DW_FORM_data1
88 .byte 11 # DW_AT_byte_size
89 .byte 11 # DW_FORM_data1
90 .byte 0 # EOM(1)
91 .byte 0 # EOM(2)
92 .byte 0 # EOM(3)
93 .section .debug_info,"",@progbits
94 .Lcu_begin0:
95 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
96 .Ldebug_info_start0:
97 .short 5 # DWARF version number
98 .byte 1 # DWARF Unit Type
99 .byte 8 # Address Size (in bytes)
100 .long .debug_abbrev # Offset Into Abbrev. Section
101 .byte 1 # Abbrev [1] 0xc:0x2c DW_TAG_compile_unit
102 .byte 0 # DW_AT_producer
103 .short 33 # DW_AT_language
104 .byte 1 # DW_AT_name
105 .long .Lstr_offsets_base0 # DW_AT_str_offsets_base
106 .long .Lline_table_start0 # DW_AT_stmt_list
107 .byte 2 # DW_AT_comp_dir
108 .byte 0 # DW_AT_low_pc
109 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
110 .long .Laddr_table_base0 # DW_AT_addr_base
111 .byte 2 # Abbrev [2] 0x23:0x10 DW_TAG_subprogram
112 .byte 0 # DW_AT_low_pc
113 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
114 .byte 1 # DW_AT_frame_base
115 .byte 86
116 .byte 3 # DW_AT_linkage_name
117 .byte 4 # DW_AT_name
118 .byte 0 # DW_AT_decl_file
119 .byte 1 # DW_AT_decl_line
120 .long 51 # DW_AT_type
121 # DW_AT_external
122 .byte 3 # Abbrev [3] 0x33:0x4 DW_TAG_base_type
123 .byte 5 # DW_AT_name
124 .byte 5 # DW_AT_encoding
125 .byte 4 # DW_AT_byte_size
126 .byte 0 # End Of Children Mark
127 .Ldebug_info_end0:
128 .section .debug_str_offsets,"",@progbits
129 .long 28 # Length of String Offsets Set
130 .short 5
131 .short 0
132 .Lstr_offsets_base0:
133 .section .debug_str,"MS",@progbits,1
134 .Linfo_string0:
135 .asciz "clang version 15.0.0" # string offset=0
136 .Linfo_string1:
137 .asciz "helper.cpp" # string offset=146
138 .Linfo_string2:
139 .asciz "dwarf4-types-dwarf5-test" # string offset=157
140 .Linfo_string3:
141 .asciz "_Z3foov" # string offset=220
142 .Linfo_string4:
143 .asciz "foo" # string offset=228
144 .Linfo_string5:
145 .asciz "int" # string offset=232
146 .section .debug_str_offsets,"",@progbits
147 .long .Linfo_string0
148 .long .Linfo_string1
149 .long .Linfo_string2
150 .long .Linfo_string3
151 .long .Linfo_string4
152 .long .Linfo_string5
153 .section .debug_addr,"",@progbits
154 .long .Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution
155 .Ldebug_addr_start0:
156 .short 5 # DWARF version number
157 .byte 8 # Address size
158 .byte 0 # Segment selector size
159 .Laddr_table_base0:
160 .quad .Lfunc_begin0
161 .Ldebug_addr_end0:
162 .ident "clang version 15.0.0"
163 .section ".note.GNU-stack","",@progbits
164 .addrsig
165 .section .debug_line,"",@progbits
166 .Lline_table_start0: