166 lines · plain
1# int foo() {2# return 0;3# }4 5 .text6 .file "helper.cpp"7 .globl _Z3foov # -- Begin function _Z3foov8 .p2align 4, 0x909 .type _Z3foov,@function10_Z3foov: # @_Z3foov11.Lfunc_begin0:12 .file 0 "/test" "helper.cpp" md5 0x95a4a33e7fe9423970d3c798fdf8ed4313 .loc 0 1 0 # helper.cpp:1:014 .cfi_startproc15# %bb.0: # %entry16 pushq %rbp17 .cfi_def_cfa_offset 1618 .cfi_offset %rbp, -1619 movq %rsp, %rbp20 .cfi_def_cfa_register %rbp21.Ltmp0:22 .loc 0 2 3 prologue_end # helper.cpp:2:323 xorl %eax, %eax24 .loc 0 2 3 epilogue_begin is_stmt 0 # helper.cpp:2:325 popq %rbp26 .cfi_def_cfa %rsp, 827 retq28.Ltmp1:29.Lfunc_end0:30 .size _Z3foov, .Lfunc_end0-_Z3foov31 .cfi_endproc32 # -- End function33 .section .debug_abbrev,"",@progbits34 .byte 1 # Abbreviation Code35 .byte 17 # DW_TAG_compile_unit36 .byte 1 # DW_CHILDREN_yes37 .byte 37 # DW_AT_producer38 .byte 37 # DW_FORM_strx139 .byte 19 # DW_AT_language40 .byte 5 # DW_FORM_data241 .byte 3 # DW_AT_name42 .byte 37 # DW_FORM_strx143 .byte 114 # DW_AT_str_offsets_base44 .byte 23 # DW_FORM_sec_offset45 .byte 16 # DW_AT_stmt_list46 .byte 23 # DW_FORM_sec_offset47 .byte 27 # DW_AT_comp_dir48 .byte 37 # DW_FORM_strx149 .byte 17 # DW_AT_low_pc50 .byte 27 # DW_FORM_addrx51 .byte 18 # DW_AT_high_pc52 .byte 6 # DW_FORM_data453 .byte 115 # DW_AT_addr_base54 .byte 23 # DW_FORM_sec_offset55 .byte 0 # EOM(1)56 .byte 0 # EOM(2)57 .byte 2 # Abbreviation Code58 .byte 46 # DW_TAG_subprogram59 .byte 0 # DW_CHILDREN_no60 .byte 17 # DW_AT_low_pc61 .byte 27 # DW_FORM_addrx62 .byte 18 # DW_AT_high_pc63 .byte 6 # DW_FORM_data464 .byte 64 # DW_AT_frame_base65 .byte 24 # DW_FORM_exprloc66 .byte 110 # DW_AT_linkage_name67 .byte 37 # DW_FORM_strx168 .byte 3 # DW_AT_name69 .byte 37 # DW_FORM_strx170 .byte 58 # DW_AT_decl_file71 .byte 11 # DW_FORM_data172 .byte 59 # DW_AT_decl_line73 .byte 11 # DW_FORM_data174 .byte 73 # DW_AT_type75 .byte 19 # DW_FORM_ref476 .byte 63 # DW_AT_external77 .byte 25 # DW_FORM_flag_present78 .byte 0 # EOM(1)79 .byte 0 # EOM(2)80 .byte 3 # Abbreviation Code81 .byte 36 # DW_TAG_base_type82 .byte 0 # DW_CHILDREN_no83 .byte 3 # DW_AT_name84 .byte 37 # DW_FORM_strx185 .byte 62 # DW_AT_encoding86 .byte 11 # DW_FORM_data187 .byte 11 # DW_AT_byte_size88 .byte 11 # DW_FORM_data189 .byte 0 # EOM(1)90 .byte 0 # EOM(2)91 .byte 0 # EOM(3)92 .section .debug_info,"",@progbits93.Lcu_begin0:94 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit95.Ldebug_info_start0:96 .short 5 # DWARF version number97 .byte 1 # DWARF Unit Type98 .byte 8 # Address Size (in bytes)99 .long .debug_abbrev # Offset Into Abbrev. Section100 .byte 1 # Abbrev [1] 0xc:0x2c DW_TAG_compile_unit101 .byte 0 # DW_AT_producer102 .short 33 # DW_AT_language103 .byte 1 # DW_AT_name104 .long .Lstr_offsets_base0 # DW_AT_str_offsets_base105 .long .Lline_table_start0 # DW_AT_stmt_list106 .byte 2 # DW_AT_comp_dir107 .byte 0 # DW_AT_low_pc108 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc109 .long .Laddr_table_base0 # DW_AT_addr_base110 .byte 2 # Abbrev [2] 0x23:0x10 DW_TAG_subprogram111 .byte 0 # DW_AT_low_pc112 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc113 .byte 1 # DW_AT_frame_base114 .byte 86115 .byte 3 # DW_AT_linkage_name116 .byte 4 # DW_AT_name117 .byte 0 # DW_AT_decl_file118 .byte 1 # DW_AT_decl_line119 .long 51 # DW_AT_type120 # DW_AT_external121 .byte 3 # Abbrev [3] 0x33:0x4 DW_TAG_base_type122 .byte 5 # DW_AT_name123 .byte 5 # DW_AT_encoding124 .byte 4 # DW_AT_byte_size125 .byte 0 # End Of Children Mark126.Ldebug_info_end0:127 .section .debug_str_offsets,"",@progbits128 .long 28 # Length of String Offsets Set129 .short 5130 .short 0131.Lstr_offsets_base0:132 .section .debug_str,"MS",@progbits,1133.Linfo_string0:134 .asciz "clang version 17.0.0 (https://github.com/llvm/llvm-project.git 640e07c49037cca41a1bfbeb916b569d8c950aea)" # string offset=0135.Linfo_string1:136 .asciz "helper.cpp" # string offset=105137.Linfo_string2:138 .asciz "/test" # string offset=116139.Linfo_string3:140 .asciz "_Z3foov" # string offset=154141.Linfo_string4:142 .asciz "foo" # string offset=162143.Linfo_string5:144 .asciz "int" # string offset=166145 .section .debug_str_offsets,"",@progbits146 .long .Linfo_string0147 .long .Linfo_string1148 .long .Linfo_string2149 .long .Linfo_string3150 .long .Linfo_string4151 .long .Linfo_string5152 .section .debug_addr,"",@progbits153 .long .Ldebug_addr_end0-.Ldebug_addr_start0 # Length of contribution154.Ldebug_addr_start0:155 .short 5 # DWARF version number156 .byte 8 # Address size157 .byte 0 # Segment selector size158.Laddr_table_base0:159 .quad .Lfunc_begin0160.Ldebug_addr_end0:161 .ident "clang version 17.0.0 (https://github.com/llvm/llvm-project.git 640e07c49037cca41a1bfbeb916b569d8c950aea)"162 .section ".note.GNU-stack","",@progbits163 .addrsig164 .section .debug_line,"",@progbits165.Lline_table_start0:166