240 lines · plain
1.ifdef GEN2#--- a.cc3struct t1 {};4extern "C" void _start(t1) {}5#--- gen6clang --target=x86_64-linux -S -g -gpubnames a.cc -o -7.endif8 .text9 .file "a.cc"10 .globl _start # -- Begin function _start11 .p2align 4, 0x9012 .type _start,@function13_start: # @_start14.Lfunc_begin0:15 .file 0 "/proc/self/cwd" "a.cc" md5 0x6835f89a7d36054002b51e54e47d852e16 .loc 0 2 0 # a.cc:2:017 .cfi_startproc18# %bb.0: # %entry19 pushq %rbp20 .cfi_def_cfa_offset 1621 .cfi_offset %rbp, -1622 movq %rsp, %rbp23 .cfi_def_cfa_register %rbp24.Ltmp0:25 .loc 0 2 29 prologue_end epilogue_begin # a.cc:2:2926 popq %rbp27 .cfi_def_cfa %rsp, 828 retq29.Ltmp1:30.Lfunc_end0:31 .size _start, .Lfunc_end0-_start32 .cfi_endproc33 # -- End function34 .section .debug_abbrev,"",@progbits35 .byte 1 # Abbreviation Code36 .byte 17 # DW_TAG_compile_unit37 .byte 1 # DW_CHILDREN_yes38 .byte 37 # DW_AT_producer39 .byte 37 # DW_FORM_strx140 .byte 19 # DW_AT_language41 .byte 5 # DW_FORM_data242 .byte 3 # DW_AT_name43 .byte 37 # DW_FORM_strx144 .byte 114 # DW_AT_str_offsets_base45 .byte 23 # DW_FORM_sec_offset46 .byte 16 # DW_AT_stmt_list47 .byte 23 # DW_FORM_sec_offset48 .byte 27 # DW_AT_comp_dir49 .byte 37 # DW_FORM_strx150 .byte 17 # DW_AT_low_pc51 .byte 27 # DW_FORM_addrx52 .byte 18 # DW_AT_high_pc53 .byte 6 # DW_FORM_data454 .byte 115 # DW_AT_addr_base55 .byte 23 # DW_FORM_sec_offset56 .byte 0 # EOM(1)57 .byte 0 # EOM(2)58 .byte 2 # Abbreviation Code59 .byte 46 # DW_TAG_subprogram60 .byte 1 # DW_CHILDREN_yes61 .byte 17 # DW_AT_low_pc62 .byte 27 # DW_FORM_addrx63 .byte 18 # DW_AT_high_pc64 .byte 6 # DW_FORM_data465 .byte 64 # DW_AT_frame_base66 .byte 24 # DW_FORM_exprloc67 .byte 3 # DW_AT_name68 .byte 37 # DW_FORM_strx169 .byte 58 # DW_AT_decl_file70 .byte 11 # DW_FORM_data171 .byte 59 # DW_AT_decl_line72 .byte 11 # DW_FORM_data173 .byte 63 # DW_AT_external74 .byte 25 # DW_FORM_flag_present75 .byte 0 # EOM(1)76 .byte 0 # EOM(2)77 .byte 3 # Abbreviation Code78 .byte 5 # DW_TAG_formal_parameter79 .byte 0 # DW_CHILDREN_no80 .byte 2 # DW_AT_location81 .byte 24 # DW_FORM_exprloc82 .byte 58 # DW_AT_decl_file83 .byte 11 # DW_FORM_data184 .byte 59 # DW_AT_decl_line85 .byte 11 # DW_FORM_data186 .byte 73 # DW_AT_type87 .byte 19 # DW_FORM_ref488 .byte 0 # EOM(1)89 .byte 0 # EOM(2)90 .byte 4 # Abbreviation Code91 .byte 19 # DW_TAG_structure_type92 .byte 0 # DW_CHILDREN_no93 .byte 54 # DW_AT_calling_convention94 .byte 11 # DW_FORM_data195 .byte 3 # DW_AT_name96 .byte 37 # DW_FORM_strx197 .byte 11 # DW_AT_byte_size98 .byte 11 # DW_FORM_data199 .byte 58 # DW_AT_decl_file100 .byte 11 # DW_FORM_data1101 .byte 59 # DW_AT_decl_line102 .byte 11 # DW_FORM_data1103 .byte 0 # EOM(1)104 .byte 0 # EOM(2)105 .byte 0 # EOM(3)106 .section .debug_info,"",@progbits107.Lcu_begin0:108 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit109.Ldebug_info_start0:110 .short 5 # DWARF version number111 .byte 1 # DWARF Unit Type112 .byte 8 # Address Size (in bytes)113 .long .debug_abbrev # Offset Into Abbrev. Section114 .byte 1 # Abbrev [1] 0xc:0x34 DW_TAG_compile_unit115 .byte 0 # DW_AT_producer116 .short 33 # DW_AT_language117 .byte 1 # DW_AT_name118 .long .Lstr_offsets_base0 # DW_AT_str_offsets_base119 .long .Lline_table_start0 # DW_AT_stmt_list120 .byte 2 # DW_AT_comp_dir121 .byte 0 # DW_AT_low_pc122 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc123 .long .Laddr_table_base0 # DW_AT_addr_base124 .byte 2 # Abbrev [2] 0x23:0x16 DW_TAG_subprogram125 .byte 0 # DW_AT_low_pc126 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc127 .byte 1 # DW_AT_frame_base128 .byte 86129 .byte 3 # DW_AT_name130 .byte 0 # DW_AT_decl_file131 .byte 2 # DW_AT_decl_line132 # DW_AT_external133 .byte 3 # Abbrev [3] 0x2e:0xa DW_TAG_formal_parameter134 .byte 2 # DW_AT_location135 .byte 145136 .byte 127137 .byte 0 # DW_AT_decl_file138 .byte 2 # DW_AT_decl_line139 .long 57 # DW_AT_type140 .byte 0 # End Of Children Mark141 .byte 4 # Abbrev [4] 0x39:0x6 DW_TAG_structure_type142 .byte 5 # DW_AT_calling_convention143 .byte 4 # DW_AT_name144 .byte 1 # DW_AT_byte_size145 .byte 0 # DW_AT_decl_file146 .byte 1 # DW_AT_decl_line147 .byte 0 # End Of Children Mark148.Ldebug_info_end0:149 .section .debug_str_offsets,"",@progbits150 .long 24 # Length of String Offsets Set151 .short 5152 .short 0153.Lstr_offsets_base0:154 .section .debug_str,"MS",@progbits,1155.Linfo_string0:156 .byte 0 # string offset=0157.Linfo_string1:158 .asciz "a.cc" # string offset=1159.Linfo_string2:160 .asciz "/proc/self/cwd" # string offset=6161.Linfo_string3:162 .asciz "_start" # string offset=21163.Linfo_string4:164 .asciz "t1" # string offset=28165 .section .debug_str_offsets,"",@progbits166 .long .Linfo_string0167 .long .Linfo_string1168 .long .Linfo_string2169 .long .Linfo_string3170 .long .Linfo_string4171 .section .debug_addr,"",@progbits172 .long .Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution173.Ldebug_addr_start0:174 .short 5 # DWARF version number175 .byte 8 # Address size176 .byte 0 # Segment selector size177.Laddr_table_base0:178 .quad .Lfunc_begin0179.Ldebug_addr_end0:180 .section .debug_names,"",@progbits181 .long .Lnames_end0-.Lnames_start0 # Header: unit length182.Lnames_start0:183 .short 5 # Header: version184 .short 0 # Header: padding185 .long 1 # Header: compilation unit count186 .long 0 # Header: local type unit count187 .long 0 # Header: foreign type unit count188 .long 2 # Header: bucket count189 .long 2 # Header: name count190 .long .Lnames_abbrev_end0-.Lnames_abbrev_start0 # Header: abbreviation table size191 .long 8 # Header: augmentation string size192 .ascii "LLVM0700" # Header: augmentation string193 .long .Lcu_begin0 # Compilation unit 0194 .long 1 # Bucket 0195 .long 0 # Bucket 1196 .long 5863786 # Hash in Bucket 0197 .long -304389582 # Hash in Bucket 0198 .long .Linfo_string4 # String in Bucket 0: t1199 .long .Linfo_string3 # String in Bucket 0: _start200 .long .Lnames1-.Lnames_entries0 # Offset in Bucket 0201 .long .Lnames0-.Lnames_entries0 # Offset in Bucket 0202.Lnames_abbrev_start0:203 .byte 1 # Abbrev code204 .byte 19 # DW_TAG_structure_type205 .byte 3 # DW_IDX_die_offset206 .byte 19 # DW_FORM_ref4207 .byte 4 # DW_IDX_parent208 .byte 25 # DW_FORM_flag_present209 .byte 0 # End of abbrev210 .byte 0 # End of abbrev211 .byte 2 # Abbrev code212 .byte 46 # DW_TAG_subprogram213 .byte 3 # DW_IDX_die_offset214 .byte 19 # DW_FORM_ref4215 .byte 4 # DW_IDX_parent216 .byte 25 # DW_FORM_flag_present217 .byte 0 # End of abbrev218 .byte 0 # End of abbrev219 .byte 0 # End of abbrev list220.Lnames_abbrev_end0:221.Lnames_entries0:222.Lnames1:223.L1:224 .byte 1 # Abbreviation code225 .long 57 # DW_IDX_die_offset226 .byte 0 # DW_IDX_parent227 # End of list: t1228.Lnames0:229.L0:230 .byte 2 # Abbreviation code231 .long 35 # DW_IDX_die_offset232 .byte 0 # DW_IDX_parent233 # End of list: _start234 .p2align 2, 0x0235.Lnames_end0:236 .section ".note.GNU-stack","",@progbits237 .addrsig238 .section .debug_line,"",@progbits239.Lline_table_start0:240