1 # Note: This file is compiled from the following code, for
2 # the purpose of creating an overflowed dwo section.
3 # The code is not further modified after being compiled.
5 # clang -g -S -gsplit-dwarf -gdwarf-5 main.c
18 .globl main # -- Begin function main
23 .file 0 "/xxxx/xxxxxxxxxx/xxxxxxxx/hello" "main.c" md5 0x77ee8a574e83e137b0f31f877848b7ec
24 .loc 0 5 0 # main.c:5:0
28 .cfi_def_cfa_offset 16
31 .cfi_def_cfa_register %rbp
35 .loc 0 6 5 prologue_end # main.c:6:5
39 .loc 0 7 5 # main.c:7:5
46 .size main, .Lfunc_end0-main
49 .section .debug_abbrev,"",@progbits
50 .byte 1 # Abbreviation Code
51 .byte 74 # DW_TAG_skeleton_unit
52 .byte 0 # DW_CHILDREN_no
53 .byte 16 # DW_AT_stmt_list
54 .byte 23 # DW_FORM_sec_offset
55 .byte 114 # DW_AT_str_offsets_base
56 .byte 23 # DW_FORM_sec_offset
57 .byte 27 # DW_AT_comp_dir
58 .byte 37 # DW_FORM_strx1
59 .ascii "\264B" # DW_AT_GNU_pubnames
60 .byte 25 # DW_FORM_flag_present
61 .byte 118 # DW_AT_dwo_name
62 .byte 37 # DW_FORM_strx1
63 .byte 17 # DW_AT_low_pc
64 .byte 27 # DW_FORM_addrx
65 .byte 18 # DW_AT_high_pc
66 .byte 6 # DW_FORM_data4
67 .byte 115 # DW_AT_addr_base
68 .byte 23 # DW_FORM_sec_offset
72 .section .debug_info,"",@progbits
74 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
76 .short 5 # DWARF version number
77 .byte 4 # DWARF Unit Type
78 .byte 8 # Address Size (in bytes)
79 .long .debug_abbrev # Offset Into Abbrev. Section
80 .quad -346972125991005518
81 .byte 1 # Abbrev [1] 0x14:0x14 DW_TAG_skeleton_unit
82 .long .Lline_table_start0 # DW_AT_stmt_list
83 .long .Lstr_offsets_base0 # DW_AT_str_offsets_base
84 .byte 0 # DW_AT_comp_dir
86 .byte 1 # DW_AT_dwo_name
87 .byte 0 # DW_AT_low_pc
88 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
89 .long .Laddr_table_base0 # DW_AT_addr_base
91 .section .debug_str_offsets,"",@progbits
96 .section .debug_str,"MS",@progbits,1
98 .asciz "/xxxx/xxxxxxxxxx/xxxxxxxx/hello" # string offset=0
100 .asciz "main.dwo" # string offset=32
101 .section .debug_str_offsets,"",@progbits
104 .section .debug_str_offsets.dwo,"e",@progbits
108 .section .debug_str.dwo,"eMS",@progbits,1
110 .asciz "main" # string offset=0
112 .asciz "int" # string offset=5
114 .asciz "clang version 11.1.0 (https://github.com/llvm/llvm-project.git 1a0dc1e010bf5c8034bd4a53340fc0dc3e90549a)" # string offset=9
116 .asciz "main.c" # string offset=114
118 .asciz "main.dwo" # string offset=121
119 .section .debug_str_offsets.dwo,"e",@progbits
125 .section .debug_info.dwo,"e",@progbits
126 .long .Ldebug_info_dwo_end0-.Ldebug_info_dwo_start0 # Length of Unit
127 .Ldebug_info_dwo_start0:
128 .short 5 # DWARF version number
129 .byte 5 # DWARF Unit Type
130 .byte 8 # Address Size (in bytes)
131 .long 0 # Offset Into Abbrev. Section
132 .quad -346972125991005518
133 .byte 1 # Abbrev [1] 0x14:0x1a DW_TAG_compile_unit
134 .byte 2 # DW_AT_producer
135 .short 12 # DW_AT_language
137 .byte 4 # DW_AT_dwo_name
138 .byte 2 # Abbrev [2] 0x1a:0xf DW_TAG_subprogram
139 .byte 0 # DW_AT_low_pc
140 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
141 .byte 1 # DW_AT_frame_base
144 .byte 0 # DW_AT_decl_file
145 .byte 5 # DW_AT_decl_line
146 .long 41 # DW_AT_type
148 .byte 3 # Abbrev [3] 0x29:0x4 DW_TAG_base_type
150 .byte 5 # DW_AT_encoding
151 .byte 4 # DW_AT_byte_size
152 .byte 0 # End Of Children Mark
154 .Ldebug_info_dwo_end0:
155 .section .debug_abbrev.dwo,"e",@progbits
156 .byte 1 # Abbreviation Code
157 .byte 17 # DW_TAG_compile_unit
158 .byte 1 # DW_CHILDREN_yes
159 .byte 37 # DW_AT_producer
160 .byte 37 # DW_FORM_strx1
161 .byte 19 # DW_AT_language
162 .byte 5 # DW_FORM_data2
164 .byte 37 # DW_FORM_strx1
165 .byte 118 # DW_AT_dwo_name
166 .byte 37 # DW_FORM_strx1
169 .byte 2 # Abbreviation Code
170 .byte 46 # DW_TAG_subprogram
171 .byte 0 # DW_CHILDREN_no
172 .byte 17 # DW_AT_low_pc
173 .byte 27 # DW_FORM_addrx
174 .byte 18 # DW_AT_high_pc
175 .byte 6 # DW_FORM_data4
176 .byte 64 # DW_AT_frame_base
177 .byte 24 # DW_FORM_exprloc
179 .byte 37 # DW_FORM_strx1
180 .byte 58 # DW_AT_decl_file
181 .byte 11 # DW_FORM_data1
182 .byte 59 # DW_AT_decl_line
183 .byte 11 # DW_FORM_data1
184 .byte 73 # DW_AT_type
185 .byte 19 # DW_FORM_ref4
186 .byte 63 # DW_AT_external
187 .byte 25 # DW_FORM_flag_present
190 .byte 3 # Abbreviation Code
191 .byte 36 # DW_TAG_base_type
192 .byte 0 # DW_CHILDREN_no
194 .byte 37 # DW_FORM_strx1
195 .byte 62 # DW_AT_encoding
196 .byte 11 # DW_FORM_data1
197 .byte 11 # DW_AT_byte_size
198 .byte 11 # DW_FORM_data1
202 .section .debug_addr,"",@progbits
203 .long .Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution
205 .short 5 # DWARF version number
206 .byte 8 # Address size
207 .byte 0 # Segment selector size
211 .section .debug_gnu_pubnames,"",@progbits
212 .long .LpubNames_end0-.LpubNames_begin0 # Length of Public Names Info
214 .short 2 # DWARF Version
215 .long .Lcu_begin0 # Offset of Compilation Unit Info
216 .long 40 # Compilation Unit Length
217 .long 26 # DIE offset
218 .byte 48 # Attributes: FUNCTION, EXTERNAL
219 .asciz "main" # External Name
222 .section .debug_gnu_pubtypes,"",@progbits
223 .long .LpubTypes_end0-.LpubTypes_begin0 # Length of Public Types Info
225 .short 2 # DWARF Version
226 .long .Lcu_begin0 # Offset of Compilation Unit Info
227 .long 40 # Compilation Unit Length
228 .long 41 # DIE offset
229 .byte 144 # Attributes: TYPE, STATIC
230 .asciz "int" # External Name
233 .ident "clang version 11.1.0 (https://github.com/llvm/llvm-project.git 1a0dc1e010bf5c8034bd4a53340fc0dc3e90549a)"
234 .section ".note.GNU-stack","",@progbits
237 .section .debug_line,"",@progbits