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