145 lines · plain
1 # int foo() {2 # return 0;3 #}4 5 .text6 .file "helper2.cpp"7 .globl _Z4foo2v # -- Begin function _Z4foo2v8 .p2align 4, 0x909 .type _Z4foo2v,@function10_Z4foo2v: # @_Z4foo2v11.Lfunc_begin0:12 .file 0 "testAddr" "helper2.cpp" md5 0xd625613508584d1558af439616b0e2d313 .loc 0 1 0 # helper2.cpp:1:014 .cfi_startproc15# %bb.0:16 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 # helper2.cpp:2:323 xorl %eax, %eax24 .loc 0 2 3 epilogue_begin is_stmt 0 # helper2.cpp:2:325 popq %rbp26 .cfi_def_cfa %rsp, 827 retq28.Ltmp1:29.Lfunc_end0:30 .size _Z4foo2v, .Lfunc_end0-_Z4foo2v31 .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 115 # DW_AT_addr_base50 .byte 23 # DW_FORM_sec_offset51 .byte 0 # EOM(1)52 .byte 0 # EOM(2)53 .byte 2 # Abbreviation Code54 .byte 46 # DW_TAG_subprogram55 .byte 0 # DW_CHILDREN_no56 .byte 64 # DW_AT_frame_base57 .byte 24 # DW_FORM_exprloc58 .byte 110 # DW_AT_linkage_name59 .byte 37 # DW_FORM_strx160 .byte 3 # DW_AT_name61 .byte 37 # DW_FORM_strx162 .byte 58 # DW_AT_decl_file63 .byte 11 # DW_FORM_data164 .byte 59 # DW_AT_decl_line65 .byte 11 # DW_FORM_data166 .byte 73 # DW_AT_type67 .byte 19 # DW_FORM_ref468 .byte 63 # DW_AT_external69 .byte 25 # DW_FORM_flag_present70 .byte 0 # EOM(1)71 .byte 0 # EOM(2)72 .byte 3 # Abbreviation Code73 .byte 36 # DW_TAG_base_type74 .byte 0 # DW_CHILDREN_no75 .byte 3 # DW_AT_name76 .byte 37 # DW_FORM_strx177 .byte 62 # DW_AT_encoding78 .byte 11 # DW_FORM_data179 .byte 11 # DW_AT_byte_size80 .byte 11 # DW_FORM_data181 .byte 0 # EOM(1)82 .byte 0 # EOM(2)83 .byte 0 # EOM(3)84 .section .debug_info,"",@progbits85.Lcu_begin0:86 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit87.Ldebug_info_start0:88 .short 5 # DWARF version number89 .byte 1 # DWARF Unit Type90 .byte 8 # Address Size (in bytes)91 .long .debug_abbrev # Offset Into Abbrev. Section92 .byte 1 # Abbrev [1] 0xc:0x2c DW_TAG_compile_unit93 .byte 0 # DW_AT_producer94 .short 33 # DW_AT_language95 .byte 1 # DW_AT_name96 .long .Lstr_offsets_base0 # DW_AT_str_offsets_base97 .long .Lline_table_start0 # DW_AT_stmt_list98 .byte 2 # DW_AT_comp_dir99 .long 0x8 # DW_AT_addr_base100 .byte 2 # Abbrev [2] 0x23:0x10 DW_TAG_subprogram101 .byte 1 # DW_AT_frame_base102 .byte 86103 .byte 3 # DW_AT_linkage_name104 .byte 4 # DW_AT_name105 .byte 0 # DW_AT_decl_file106 .byte 1 # DW_AT_decl_line107 .long 41 # DW_AT_type108 # DW_AT_external109 .byte 3 # Abbrev [3] 0x33:0x4 DW_TAG_base_type110 .byte 5 # DW_AT_name111 .byte 5 # DW_AT_encoding112 .byte 4 # DW_AT_byte_size113 .byte 0 # End Of Children Mark114.Ldebug_info_end0:115 .section .debug_str_offsets,"",@progbits116 .long 28 # Length of String Offsets Set117 .short 5118 .short 0119.Lstr_offsets_base0:120 .section .debug_str,"MS",@progbits,1121.Linfo_string0:122 .asciz "clang version 15.0.0" # string offset=0123.Linfo_string1:124 .asciz "helper2.cpp" # string offset=146125.Linfo_string2:126 .asciz "testAddr" # string offset=158127.Linfo_string3:128 .asciz "_Z4foo2v" # string offset=205129.Linfo_string4:130 .asciz "foo2" # string offset=214131.Linfo_string5:132 .asciz "int" # string offset=219133 .section .debug_str_offsets,"",@progbits134 .long .Linfo_string0135 .long .Linfo_string1136 .long .Linfo_string2137 .long .Linfo_string3138 .long .Linfo_string4139 .long .Linfo_string5140 .ident "clang version 15.0.0"141 .section ".note.GNU-stack","",@progbits142 .addrsig143 .section .debug_line,"",@progbits144.Lline_table_start0:145