Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / test / X86 / Inputs / dwarf5-main-addr-section-reuse.s
blobc2738eadea9adc86f4e7059d17bec23d7a69886e
1 #int main() {
2 # return 0;
3 #}
5 .text
6 .file "main.cpp"
7 .globl main # -- Begin function main
8 .p2align 4, 0x90
9 .type main,@function
10 main: # @main
11 .Lfunc_begin0:
12 .file 0 "testAddr" "main.cpp" md5 0xd7b10b0a4a7fb8e0790feb7a5cd9b69a
13 .loc 0 1 0 # main.cpp:1:0
14 .cfi_startproc
15 # %bb.0:
16 pushq %rbp
17 .cfi_def_cfa_offset 16
18 .cfi_offset %rbp, -16
19 movq %rsp, %rbp
20 .cfi_def_cfa_register %rbp
21 movl $0, -4(%rbp)
22 .Ltmp0:
23 .loc 0 2 3 prologue_end # main.cpp:2:3
24 xorl %eax, %eax
25 .loc 0 2 3 epilogue_begin is_stmt 0 # main.cpp:2:3
26 popq %rbp
27 .cfi_def_cfa %rsp, 8
28 retq
29 .Ltmp1:
30 .Lfunc_end0:
31 .size main, .Lfunc_end0-main
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 3 # DW_AT_name
68 .byte 37 # DW_FORM_strx1
69 .byte 58 # DW_AT_decl_file
70 .byte 11 # DW_FORM_data1
71 .byte 59 # DW_AT_decl_line
72 .byte 11 # DW_FORM_data1
73 .byte 73 # DW_AT_type
74 .byte 19 # DW_FORM_ref4
75 .byte 63 # DW_AT_external
76 .byte 25 # DW_FORM_flag_present
77 .byte 0 # EOM(1)
78 .byte 0 # EOM(2)
79 .byte 3 # Abbreviation Code
80 .byte 36 # DW_TAG_base_type
81 .byte 0 # DW_CHILDREN_no
82 .byte 3 # DW_AT_name
83 .byte 37 # DW_FORM_strx1
84 .byte 62 # DW_AT_encoding
85 .byte 11 # DW_FORM_data1
86 .byte 11 # DW_AT_byte_size
87 .byte 11 # DW_FORM_data1
88 .byte 0 # EOM(1)
89 .byte 0 # EOM(2)
90 .byte 0 # EOM(3)
91 .section .debug_info,"",@progbits
92 .Lcu_begin0:
93 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
94 .Ldebug_info_start0:
95 .short 5 # DWARF version number
96 .byte 1 # DWARF Unit Type
97 .byte 8 # Address Size (in bytes)
98 .long .debug_abbrev # Offset Into Abbrev. Section
99 .byte 1 # Abbrev [1] 0xc:0x2b DW_TAG_compile_unit
100 .byte 0 # DW_AT_producer
101 .short 33 # DW_AT_language
102 .byte 1 # DW_AT_name
103 .long .Lstr_offsets_base0 # DW_AT_str_offsets_base
104 .long .Lline_table_start0 # DW_AT_stmt_list
105 .byte 2 # DW_AT_comp_dir
106 .byte 0 # DW_AT_low_pc
107 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
108 .long .Laddr_table_base0 # DW_AT_addr_base
109 .byte 2 # Abbrev [2] 0x23:0xf DW_TAG_subprogram
110 .byte 0 # DW_AT_low_pc
111 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
112 .byte 1 # DW_AT_frame_base
113 .byte 86
114 .byte 3 # DW_AT_name
115 .byte 0 # DW_AT_decl_file
116 .byte 1 # DW_AT_decl_line
117 .long 50 # DW_AT_type
118 # DW_AT_external
119 .byte 3 # Abbrev [3] 0x32:0x4 DW_TAG_base_type
120 .byte 4 # DW_AT_name
121 .byte 5 # DW_AT_encoding
122 .byte 4 # DW_AT_byte_size
123 .byte 0 # End Of Children Mark
124 .Ldebug_info_end0:
125 .section .debug_str_offsets,"",@progbits
126 .long 24 # Length of String Offsets Set
127 .short 5
128 .short 0
129 .Lstr_offsets_base0:
130 .section .debug_str,"MS",@progbits,1
131 .Linfo_string0:
132 .asciz "clang version 15.0.0" # string offset=0
133 .Linfo_string1:
134 .asciz "main.cpp" # string offset=146
135 .Linfo_string2:
136 .asciz "testAddr" # string offset=155
137 .Linfo_string3:
138 .asciz "main" # string offset=202
139 .Linfo_string4:
140 .asciz "int" # string offset=207
141 .section .debug_str_offsets,"",@progbits
142 .long .Linfo_string0
143 .long .Linfo_string1
144 .long .Linfo_string2
145 .long .Linfo_string3
146 .long .Linfo_string4
147 .section .debug_addr,"",@progbits
148 .long .Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution
149 .Ldebug_addr_start0:
150 .short 5 # DWARF version number
151 .byte 8 # Address size
152 .byte 0 # Segment selector size
153 .Laddr_table_base0:
154 .quad .Lfunc_begin0
155 .Ldebug_addr_end0:
156 .ident "clang version 15.0.0"
157 .section ".note.GNU-stack","",@progbits
158 .addrsig
159 .section .debug_line,"",@progbits
160 .Lline_table_start0: