494 lines · plain
1# clang++ -gsplit-dwarf -g2 -gdwarf-5 -gpubnames -fdebug-compilation-dir='.'2# header.h3# struct Foo2a {4# char *c1;5# char *c2;6# char *c3;7# };8# main.cpp9# #include "header.h"10# struct Foo2 {11# char *c1;12# };13# int main(int argc, char *argv[]) {14# Foo2 f2;15# Foo2a f3;16# return 0;17# }18 19 .text20 .file "main.cpp"21 .globl main # -- Begin function main22 .p2align 4, 0x9023 .type main,@function24main: # @main25.Lfunc_begin0:26 .file 0 "." "main.cpp" md5 0x9c5cea5bb78d3fc265cd175110bfe90327 .loc 0 5 0 # main.cpp:5:028 .cfi_startproc29# %bb.0: # %entry30 pushq %rbp31 .cfi_def_cfa_offset 1632 .cfi_offset %rbp, -1633 movq %rsp, %rbp34 .cfi_def_cfa_register %rbp35 movl $0, -4(%rbp)36 movl %edi, -8(%rbp)37 movq %rsi, -16(%rbp)38.Ltmp0:39 .loc 0 8 2 prologue_end # main.cpp:8:240 xorl %eax, %eax41 .loc 0 8 2 epilogue_begin is_stmt 0 # main.cpp:8:242 popq %rbp43 .cfi_def_cfa %rsp, 844 retq45.Ltmp1:46.Lfunc_end0:47 .size main, .Lfunc_end0-main48 .cfi_endproc49 # -- End function50 .file 1 "." "header.h" md5 0xfea7bb1f22c47f129e15695f7137a1e751 .section .debug_abbrev,"",@progbits52 .byte 1 # Abbreviation Code53 .byte 74 # DW_TAG_skeleton_unit54 .byte 0 # DW_CHILDREN_no55 .byte 16 # DW_AT_stmt_list56 .byte 23 # DW_FORM_sec_offset57 .byte 114 # DW_AT_str_offsets_base58 .byte 23 # DW_FORM_sec_offset59 .byte 27 # DW_AT_comp_dir60 .byte 37 # DW_FORM_strx161 .byte 118 # DW_AT_dwo_name62 .byte 37 # DW_FORM_strx163 .byte 17 # DW_AT_low_pc64 .byte 27 # DW_FORM_addrx65 .byte 18 # DW_AT_high_pc66 .byte 6 # DW_FORM_data467 .byte 115 # DW_AT_addr_base68 .byte 23 # DW_FORM_sec_offset69 .byte 0 # EOM(1)70 .byte 0 # EOM(2)71 .byte 0 # EOM(3)72 .section .debug_info,"",@progbits73.Lcu_begin0:74 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit75.Ldebug_info_start0:76 .short 5 # DWARF version number77 .byte 4 # DWARF Unit Type78 .byte 8 # Address Size (in bytes)79 .long .debug_abbrev # Offset Into Abbrev. Section80 .quad -561802370170154393681 .byte 1 # Abbrev [1] 0x14:0x14 DW_TAG_skeleton_unit82 .long .Lline_table_start0 # DW_AT_stmt_list83 .long .Lstr_offsets_base0 # DW_AT_str_offsets_base84 .byte 0 # DW_AT_comp_dir85 .byte 1 # DW_AT_dwo_name86 .byte 0 # DW_AT_low_pc87 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc88 .long .Laddr_table_base0 # DW_AT_addr_base89.Ldebug_info_end0:90 .section .debug_str_offsets,"",@progbits91 .long 12 # Length of String Offsets Set92 .short 593 .short 094.Lstr_offsets_base0:95 .section .debug_str,"MS",@progbits,196.Lskel_string0:97 .asciz "." # string offset=098.Lskel_string1:99 .asciz "main" # string offset=2100.Lskel_string2:101 .asciz "int" # string offset=7102.Lskel_string3:103 .asciz "char" # string offset=11104.Lskel_string4:105 .asciz "Foo2" # string offset=16106.Lskel_string5:107 .asciz "Foo2a" # string offset=21108.Lskel_string6:109 .asciz "main.dwo" # string offset=27110 .section .debug_str_offsets,"",@progbits111 .long .Lskel_string0112 .long .Lskel_string6113 .section .debug_str_offsets.dwo,"e",@progbits114 .long 64 # Length of String Offsets Set115 .short 5116 .short 0117 .section .debug_str.dwo,"eMS",@progbits,1118.Linfo_string0:119 .asciz "main" # string offset=0120.Linfo_string1:121 .asciz "int" # string offset=5122.Linfo_string2:123 .asciz "argc" # string offset=9124.Linfo_string3:125 .asciz "argv" # string offset=14126.Linfo_string4:127 .asciz "char" # string offset=19128.Linfo_string5:129 .asciz "f2" # string offset=24130.Linfo_string6:131 .asciz "c1" # string offset=27132.Linfo_string7:133 .asciz "Foo2" # string offset=30134.Linfo_string8:135 .asciz "f3" # string offset=35136.Linfo_string9:137 .asciz "c2" # string offset=38138.Linfo_string10:139 .asciz "c3" # string offset=41140.Linfo_string11:141 .asciz "Foo2a" # string offset=44142.Linfo_string12:143 .asciz "clang version 19.0.0git (git@github.com:ayermolo/llvm-project.git da9e9277be64deca73370a90d22af33e5b37cc52)" # string offset=50144.Linfo_string13:145 .asciz "main.cpp" # string offset=158146.Linfo_string14:147 .asciz "main.dwo" # string offset=167148 .section .debug_str_offsets.dwo,"e",@progbits149 .long 0150 .long 5151 .long 9152 .long 14153 .long 19154 .long 24155 .long 27156 .long 30157 .long 35158 .long 38159 .long 41160 .long 44161 .long 50162 .long 158163 .long 167164 .section .debug_info.dwo,"e",@progbits165 .long .Ldebug_info_dwo_end0-.Ldebug_info_dwo_start0 # Length of Unit166.Ldebug_info_dwo_start0:167 .short 5 # DWARF version number168 .byte 5 # DWARF Unit Type169 .byte 8 # Address Size (in bytes)170 .long 0 # Offset Into Abbrev. Section171 .quad -5618023701701543936172 .byte 1 # Abbrev [1] 0x14:0x87 DW_TAG_compile_unit173 .byte 12 # DW_AT_producer174 .short 33 # DW_AT_language175 .byte 13 # DW_AT_name176 .byte 14 # DW_AT_dwo_name177 .byte 2 # Abbrev [2] 0x1a:0x3c DW_TAG_subprogram178 .byte 0 # DW_AT_low_pc179 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc180 .byte 1 # DW_AT_frame_base181 .byte 86182 .byte 0 # DW_AT_name183 .byte 0 # DW_AT_decl_file184 .byte 5 # DW_AT_decl_line185 .long 86 # DW_AT_type186 # DW_AT_external187 .byte 3 # Abbrev [3] 0x29:0xb DW_TAG_formal_parameter188 .byte 2 # DW_AT_location189 .byte 145190 .byte 120191 .byte 2 # DW_AT_name192 .byte 0 # DW_AT_decl_file193 .byte 5 # DW_AT_decl_line194 .long 86 # DW_AT_type195 .byte 3 # Abbrev [3] 0x34:0xb DW_TAG_formal_parameter196 .byte 2 # DW_AT_location197 .byte 145198 .byte 112199 .byte 3 # DW_AT_name200 .byte 0 # DW_AT_decl_file201 .byte 5 # DW_AT_decl_line202 .long 90 # DW_AT_type203 .byte 4 # Abbrev [4] 0x3f:0xb DW_TAG_variable204 .byte 2 # DW_AT_location205 .byte 145206 .byte 104207 .byte 5 # DW_AT_name208 .byte 0 # DW_AT_decl_file209 .byte 6 # DW_AT_decl_line210 .long 104 # DW_AT_type211 .byte 4 # Abbrev [4] 0x4a:0xb DW_TAG_variable212 .byte 2 # DW_AT_location213 .byte 145214 .byte 80215 .byte 8 # DW_AT_name216 .byte 0 # DW_AT_decl_file217 .byte 7 # DW_AT_decl_line218 .long 120 # DW_AT_type219 .byte 0 # End Of Children Mark220 .byte 5 # Abbrev [5] 0x56:0x4 DW_TAG_base_type221 .byte 1 # DW_AT_name222 .byte 5 # DW_AT_encoding223 .byte 4 # DW_AT_byte_size224 .byte 6 # Abbrev [6] 0x5a:0x5 DW_TAG_pointer_type225 .long 95 # DW_AT_type226 .byte 6 # Abbrev [6] 0x5f:0x5 DW_TAG_pointer_type227 .long 100 # DW_AT_type228 .byte 5 # Abbrev [5] 0x64:0x4 DW_TAG_base_type229 .byte 4 # DW_AT_name230 .byte 6 # DW_AT_encoding231 .byte 1 # DW_AT_byte_size232 .byte 7 # Abbrev [7] 0x68:0x10 DW_TAG_structure_type233 .byte 5 # DW_AT_calling_convention234 .byte 7 # DW_AT_name235 .byte 8 # DW_AT_byte_size236 .byte 0 # DW_AT_decl_file237 .byte 2 # DW_AT_decl_line238 .byte 8 # Abbrev [8] 0x6e:0x9 DW_TAG_member239 .byte 6 # DW_AT_name240 .long 95 # DW_AT_type241 .byte 0 # DW_AT_decl_file242 .byte 3 # DW_AT_decl_line243 .byte 0 # DW_AT_data_member_location244 .byte 0 # End Of Children Mark245 .byte 7 # Abbrev [7] 0x78:0x22 DW_TAG_structure_type246 .byte 5 # DW_AT_calling_convention247 .byte 11 # DW_AT_name248 .byte 24 # DW_AT_byte_size249 .byte 1 # DW_AT_decl_file250 .byte 1 # DW_AT_decl_line251 .byte 8 # Abbrev [8] 0x7e:0x9 DW_TAG_member252 .byte 6 # DW_AT_name253 .long 95 # DW_AT_type254 .byte 1 # DW_AT_decl_file255 .byte 2 # DW_AT_decl_line256 .byte 0 # DW_AT_data_member_location257 .byte 8 # Abbrev [8] 0x87:0x9 DW_TAG_member258 .byte 9 # DW_AT_name259 .long 95 # DW_AT_type260 .byte 1 # DW_AT_decl_file261 .byte 3 # DW_AT_decl_line262 .byte 8 # DW_AT_data_member_location263 .byte 8 # Abbrev [8] 0x90:0x9 DW_TAG_member264 .byte 10 # DW_AT_name265 .long 95 # DW_AT_type266 .byte 1 # DW_AT_decl_file267 .byte 4 # DW_AT_decl_line268 .byte 16 # DW_AT_data_member_location269 .byte 0 # End Of Children Mark270 .byte 0 # End Of Children Mark271.Ldebug_info_dwo_end0:272 .section .debug_abbrev.dwo,"e",@progbits273 .byte 1 # Abbreviation Code274 .byte 17 # DW_TAG_compile_unit275 .byte 1 # DW_CHILDREN_yes276 .byte 37 # DW_AT_producer277 .byte 37 # DW_FORM_strx1278 .byte 19 # DW_AT_language279 .byte 5 # DW_FORM_data2280 .byte 3 # DW_AT_name281 .byte 37 # DW_FORM_strx1282 .byte 118 # DW_AT_dwo_name283 .byte 37 # DW_FORM_strx1284 .byte 0 # EOM(1)285 .byte 0 # EOM(2)286 .byte 2 # Abbreviation Code287 .byte 46 # DW_TAG_subprogram288 .byte 1 # DW_CHILDREN_yes289 .byte 17 # DW_AT_low_pc290 .byte 27 # DW_FORM_addrx291 .byte 18 # DW_AT_high_pc292 .byte 6 # DW_FORM_data4293 .byte 64 # DW_AT_frame_base294 .byte 24 # DW_FORM_exprloc295 .byte 3 # DW_AT_name296 .byte 37 # DW_FORM_strx1297 .byte 58 # DW_AT_decl_file298 .byte 11 # DW_FORM_data1299 .byte 59 # DW_AT_decl_line300 .byte 11 # DW_FORM_data1301 .byte 73 # DW_AT_type302 .byte 19 # DW_FORM_ref4303 .byte 63 # DW_AT_external304 .byte 25 # DW_FORM_flag_present305 .byte 0 # EOM(1)306 .byte 0 # EOM(2)307 .byte 3 # Abbreviation Code308 .byte 5 # DW_TAG_formal_parameter309 .byte 0 # DW_CHILDREN_no310 .byte 2 # DW_AT_location311 .byte 24 # DW_FORM_exprloc312 .byte 3 # DW_AT_name313 .byte 37 # DW_FORM_strx1314 .byte 58 # DW_AT_decl_file315 .byte 11 # DW_FORM_data1316 .byte 59 # DW_AT_decl_line317 .byte 11 # DW_FORM_data1318 .byte 73 # DW_AT_type319 .byte 19 # DW_FORM_ref4320 .byte 0 # EOM(1)321 .byte 0 # EOM(2)322 .byte 4 # Abbreviation Code323 .byte 52 # DW_TAG_variable324 .byte 0 # DW_CHILDREN_no325 .byte 2 # DW_AT_location326 .byte 24 # DW_FORM_exprloc327 .byte 3 # DW_AT_name328 .byte 37 # DW_FORM_strx1329 .byte 58 # DW_AT_decl_file330 .byte 11 # DW_FORM_data1331 .byte 59 # DW_AT_decl_line332 .byte 11 # DW_FORM_data1333 .byte 73 # DW_AT_type334 .byte 19 # DW_FORM_ref4335 .byte 0 # EOM(1)336 .byte 0 # EOM(2)337 .byte 5 # Abbreviation Code338 .byte 36 # DW_TAG_base_type339 .byte 0 # DW_CHILDREN_no340 .byte 3 # DW_AT_name341 .byte 37 # DW_FORM_strx1342 .byte 62 # DW_AT_encoding343 .byte 11 # DW_FORM_data1344 .byte 11 # DW_AT_byte_size345 .byte 11 # DW_FORM_data1346 .byte 0 # EOM(1)347 .byte 0 # EOM(2)348 .byte 6 # Abbreviation Code349 .byte 15 # DW_TAG_pointer_type350 .byte 0 # DW_CHILDREN_no351 .byte 73 # DW_AT_type352 .byte 19 # DW_FORM_ref4353 .byte 0 # EOM(1)354 .byte 0 # EOM(2)355 .byte 7 # Abbreviation Code356 .byte 19 # DW_TAG_structure_type357 .byte 1 # DW_CHILDREN_yes358 .byte 54 # DW_AT_calling_convention359 .byte 11 # DW_FORM_data1360 .byte 3 # DW_AT_name361 .byte 37 # DW_FORM_strx1362 .byte 11 # DW_AT_byte_size363 .byte 11 # DW_FORM_data1364 .byte 58 # DW_AT_decl_file365 .byte 11 # DW_FORM_data1366 .byte 59 # DW_AT_decl_line367 .byte 11 # DW_FORM_data1368 .byte 0 # EOM(1)369 .byte 0 # EOM(2)370 .byte 8 # Abbreviation Code371 .byte 13 # DW_TAG_member372 .byte 0 # DW_CHILDREN_no373 .byte 3 # DW_AT_name374 .byte 37 # DW_FORM_strx1375 .byte 73 # DW_AT_type376 .byte 19 # DW_FORM_ref4377 .byte 58 # DW_AT_decl_file378 .byte 11 # DW_FORM_data1379 .byte 59 # DW_AT_decl_line380 .byte 11 # DW_FORM_data1381 .byte 56 # DW_AT_data_member_location382 .byte 11 # DW_FORM_data1383 .byte 0 # EOM(1)384 .byte 0 # EOM(2)385 .byte 0 # EOM(3)386 .section .debug_addr,"",@progbits387 .long .Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution388.Ldebug_addr_start0:389 .short 5 # DWARF version number390 .byte 8 # Address size391 .byte 0 # Segment selector size392.Laddr_table_base0:393 .quad .Lfunc_begin0394.Ldebug_addr_end0:395 .section .debug_names,"",@progbits396 .long .Lnames_end0-.Lnames_start0 # Header: unit length397.Lnames_start0:398 .short 5 # Header: version399 .short 0 # Header: padding400 .long 1 # Header: compilation unit count401 .long 0 # Header: local type unit count402 .long 0 # Header: foreign type unit count403 .long 5 # Header: bucket count404 .long 5 # Header: name count405 .long .Lnames_abbrev_end0-.Lnames_abbrev_start0 # Header: abbreviation table size406 .long 8 # Header: augmentation string size407 .ascii "LLVM0700" # Header: augmentation string408 .long .Lcu_begin0 # Compilation unit 0409 .long 0 # Bucket 0410 .long 1 # Bucket 1411 .long 0 # Bucket 2412 .long 3 # Bucket 3413 .long 4 # Bucket 4414 .long 2090263771 # Hash in Bucket 1415 .long 2090499946 # Hash in Bucket 1416 .long 193495088 # Hash in Bucket 3417 .long 259227804 # Hash in Bucket 4418 .long 2090147939 # Hash in Bucket 4419 .long .Lskel_string4 # String in Bucket 1: Foo2420 .long .Lskel_string1 # String in Bucket 1: main421 .long .Lskel_string2 # String in Bucket 3: int422 .long .Lskel_string5 # String in Bucket 4: Foo2a423 .long .Lskel_string3 # String in Bucket 4: char424 .long .Lnames3-.Lnames_entries0 # Offset in Bucket 1425 .long .Lnames0-.Lnames_entries0 # Offset in Bucket 1426 .long .Lnames1-.Lnames_entries0 # Offset in Bucket 3427 .long .Lnames4-.Lnames_entries0 # Offset in Bucket 4428 .long .Lnames2-.Lnames_entries0 # Offset in Bucket 4429.Lnames_abbrev_start0:430 .ascii "\230\023" # Abbrev code431 .byte 19 # DW_TAG_structure_type432 .byte 3 # DW_IDX_die_offset433 .byte 19 # DW_FORM_ref4434 .byte 4 # DW_IDX_parent435 .byte 25 # DW_FORM_flag_present436 .byte 0 # End of abbrev437 .byte 0 # End of abbrev438 .ascii "\230." # Abbrev code439 .byte 46 # DW_TAG_subprogram440 .byte 3 # DW_IDX_die_offset441 .byte 19 # DW_FORM_ref4442 .byte 4 # DW_IDX_parent443 .byte 25 # DW_FORM_flag_present444 .byte 0 # End of abbrev445 .byte 0 # End of abbrev446 .ascii "\230$" # Abbrev code447 .byte 36 # DW_TAG_base_type448 .byte 3 # DW_IDX_die_offset449 .byte 19 # DW_FORM_ref4450 .byte 4 # DW_IDX_parent451 .byte 25 # DW_FORM_flag_present452 .byte 0 # End of abbrev453 .byte 0 # End of abbrev454 .byte 0 # End of abbrev list455.Lnames_abbrev_end0:456.Lnames_entries0:457.Lnames3:458.L4:459 .ascii "\230\023" # Abbreviation code460 .long 104 # DW_IDX_die_offset461 .byte 0 # DW_IDX_parent462 # End of list: Foo2463.Lnames0:464.L1:465 .ascii "\230." # Abbreviation code466 .long 26 # DW_IDX_die_offset467 .byte 0 # DW_IDX_parent468 # End of list: main469.Lnames1:470.L3:471 .ascii "\230$" # Abbreviation code472 .long 86 # DW_IDX_die_offset473 .byte 0 # DW_IDX_parent474 # End of list: int475.Lnames4:476.L2:477 .ascii "\230\023" # Abbreviation code478 .long 120 # DW_IDX_die_offset479 .byte 0 # DW_IDX_parent480 # End of list: Foo2a481.Lnames2:482.L0:483 .ascii "\230$" # Abbreviation code484 .long 100 # DW_IDX_die_offset485 .byte 0 # DW_IDX_parent486 # End of list: char487 .p2align 2, 0x0488.Lnames_end0:489 .ident "clang version 19.0.0git (git@github.com:ayermolo/llvm-project.git da9e9277be64deca73370a90d22af33e5b37cc52)"490 .section ".note.GNU-stack","",@progbits491 .addrsig492 .section .debug_line,"",@progbits493.Lline_table_start0:494