59 lines · yaml
1# This file is a shorten version of the output2# produced with the following invocations and input:3# ./clang test.cpp -g -gdwarf-5 -o test.exe4# ./obj2yaml test.exe > test.yaml5#6# // test.cpp7# int main() {8# return 0;9# }10# 11# void foo() {12# }13 14--- !ELF15FileHeader: 16 Class: ELFCLASS6417 Data: ELFDATA2LSB18 Type: ET_EXEC19 Machine: EM_X86_6420 Entry: 0x000000000040044021Sections: 22 - Name: .text23 Type: SHT_PROGBITS24 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]25 Address: 0x000000000040044026 AddressAlign: 0x000000000000001027 Content: 31ED4989D15E4889E24883E4F0505449C7C0B005400048C7C14005400048C7C720054000E8B7FFFFFFF4660F1F44000055B820204000483D202040004889E57417B8000000004885C0740D5DBF20204000FFE00F1F4400005DC3660F1F440000BE20204000554881EE202040004889E548C1FE034889F048C1E83F4801C648D1FE7415B8000000004885C0740B5DBF20204000FFE00F1F005DC3660F1F440000803D391B0000007517554889E5E87EFFFFFFC605271B0000015DC30F1F440000F3C30F1F4000662E0F1F840000000000554889E55DEB89660F1F840000000000554889E531C0C745FC000000005DC390554889E55DC3662E0F1F840000000000415741564189FF415541544C8D25B618000055488D2DB6180000534989F64989D54C29E54883EC0848C1FD03E87FFEFFFF4885ED742031DB0F1F8400000000004C89EA4C89F64489FF41FF14DC4883C3014839EB75EA4883C4085B5D415C415D415E415FC390662E0F1F840000000000F3C328 - Name: .debug_str_offsets29 Type: SHT_PROGBITS30 AddressAlign: 0x000000000000000131 Content: 200000000500000000000000230000002C0000004A0000004F000000530000005B00000032 - Name: .debug_str33 Type: SHT_PROGBITS34 Flags: [ SHF_MERGE, SHF_STRINGS ]35 AddressAlign: 0x000000000000000136 Content: 636C616E672076657273696F6E20382E302E3020287472756E6B203334313935382900746573742E637070002F686F6D652F756D622F4C4C564D2F6275696C645F6C6C64622F62696E006D61696E00696E74005F5A33666F6F7600666F6F0037 - Name: .debug_abbrev38 Type: SHT_PROGBITS39 AddressAlign: 0x000000000000000140 Content: 011101252513050325721710171B25110112060000022E0011011206401803253A0B3B0B49133F190000032E001101120640186E2503253A0B3B0B3F19000004240003253E0B0B0B00000041 - Name: .debug_info42 Type: SHT_PROGBITS43 AddressAlign: 0x000000000000000144 Content: 50000000050001080000000001000400010800000000000000022005400000000000160000000220054000000000000F00000001560301014F00000003300540000000000006000000015605060105040405040045 - Name: .debug_macinfo46 Type: SHT_PROGBITS47 AddressAlign: 0x000000000000000148 Content: '00'49 - Name: .debug_line50 Type: SHT_PROGBITS51 AddressAlign: 0x000000000000000152 Content: 70000000050008004C000000010101FB0E0D00010101010000000100000101011F010000000003011F020F051E021E00000000FD7C0F2E46BA561F7BDA351B04E677091E00000000FD7C0F2E46BA561F7BDA351B04E6770900090220054000000000000105030AC905003F05010A4B020200010153 - Name: .debug_line_str54 Type: SHT_PROGBITS55 Flags: [ SHF_MERGE, SHF_STRINGS ]56 AddressAlign: 0x000000000000000157 Content: 2F686F6D652F756D622F4C4C564D2F6275696C645F6C6C64622F62696E00746573742E6370700058...59