• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# This file is a shorten version of the output
2# produced with the following invocations and input:
3# ./clang test.cpp -g -gdwarf-5 -o test.exe
4# ./obj2yaml test.exe > test.yaml
5#
6# // test.cpp
7# int main() {
8#   return 0;
9# }
10#
11# void foo() {
12# }
13
14--- !ELF
15FileHeader:      
16  Class:           ELFCLASS64
17  Data:            ELFDATA2LSB
18  Type:            ET_EXEC
19  Machine:         EM_X86_64
20  Entry:           0x0000000000400440
21Sections:        
22  - Name:            .text
23    Type:            SHT_PROGBITS
24    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
25    Address:         0x0000000000400440
26    AddressAlign:    0x0000000000000010
27    Content:         31ED4989D15E4889E24883E4F0505449C7C0B005400048C7C14005400048C7C720054000E8B7FFFFFFF4660F1F44000055B820204000483D202040004889E57417B8000000004885C0740D5DBF20204000FFE00F1F4400005DC3660F1F440000BE20204000554881EE202040004889E548C1FE034889F048C1E83F4801C648D1FE7415B8000000004885C0740B5DBF20204000FFE00F1F005DC3660F1F440000803D391B0000007517554889E5E87EFFFFFFC605271B0000015DC30F1F440000F3C30F1F4000662E0F1F840000000000554889E55DEB89660F1F840000000000554889E531C0C745FC000000005DC390554889E55DC3662E0F1F840000000000415741564189FF415541544C8D25B618000055488D2DB6180000534989F64989D54C29E54883EC0848C1FD03E87FFEFFFF4885ED742031DB0F1F8400000000004C89EA4C89F64489FF41FF14DC4883C3014839EB75EA4883C4085B5D415C415D415E415FC390662E0F1F840000000000F3C3
28  - Name:            .debug_str_offsets
29    Type:            SHT_PROGBITS
30    AddressAlign:    0x0000000000000001
31    Content:         200000000500000000000000230000002C0000004A0000004F000000530000005B000000
32  - Name:            .debug_str
33    Type:            SHT_PROGBITS
34    Flags:           [ SHF_MERGE, SHF_STRINGS ]
35    AddressAlign:    0x0000000000000001
36    Content:         636C616E672076657273696F6E20382E302E3020287472756E6B203334313935382900746573742E637070002F686F6D652F756D622F4C4C564D2F6275696C645F6C6C64622F62696E006D61696E00696E74005F5A33666F6F7600666F6F00
37  - Name:            .debug_abbrev
38    Type:            SHT_PROGBITS
39    AddressAlign:    0x0000000000000001
40    Content:         011101252513050325721710171B25110112060000022E0011011206401803253A0B3B0B49133F190000032E001101120640186E2503253A0B3B0B3F19000004240003253E0B0B0B000000
41  - Name:            .debug_info
42    Type:            SHT_PROGBITS
43    AddressAlign:    0x0000000000000001
44    Content:         50000000050001080000000001000400010800000000000000022005400000000000160000000220054000000000000F00000001560301014F000000033005400000000000060000000156050601050404050400
45  - Name:            .debug_macinfo
46    Type:            SHT_PROGBITS
47    AddressAlign:    0x0000000000000001
48    Content:         '00'
49  - Name:            .debug_line
50    Type:            SHT_PROGBITS
51    AddressAlign:    0x0000000000000001
52    Content:         70000000050008004C000000010101FB0E0D00010101010000000100000101011F010000000003011F020F051E021E00000000FD7C0F2E46BA561F7BDA351B04E677091E00000000FD7C0F2E46BA561F7BDA351B04E6770900090220054000000000000105030AC905003F05010A4B0202000101
53  - Name:            .debug_line_str
54    Type:            SHT_PROGBITS
55    Flags:           [ SHF_MERGE, SHF_STRINGS ]
56    AddressAlign:    0x0000000000000001
57    Content:         2F686F6D652F756D622F4C4C564D2F6275696C645F6C6C64622F62696E00746573742E63707000
58...
59