brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.5 KiB · a3ace75 Raw
93 lines · yaml
1# Source code:2 3# int foo() {4#   return 1;5# }6#7# int main() {8#   foo();9#   return 0;10# }11 12# Build instructions (clang version 15.0.0):13# split-dwarf-single.o:       clang -gsplit-dwarf=single -fdebug-compilation-dir=.  test.c   -fdebug-info-for-profiling  -O0 -g -o split-dwarf-single.o -c14# split-dwarf-single.o.yaml:  obj2yaml split-dwarf-single.o > split-dwarf-single.o.yaml15 16--- !ELF17FileHeader:18  Class:           ELFCLASS6419  Data:            ELFDATA2LSB20  Type:            ET_REL21  Machine:         EM_X86_6422  SectionHeaderStringTable: .strtab23Sections:24  - Name:            .debug_abbrev25    Type:            SHT_PROGBITS26    AddressAlign:    0x127    Content:         014A00101772171B25B442197625111B1206731700000028  - Name:            .debug_info29    Type:            SHT_PROGBITS30    AddressAlign:    0x131    Content:         2400000005000408000000000428758115ED87CF0100000000000000000001002C0000000000000032  - Name:            .debug_str_offsets33    Type:            SHT_PROGBITS34    AddressAlign:    0x135    Content:         0C00000005000000000000000000000036  - Name:            .debug_str_offsets.dwo37    Type:            SHT_PROGBITS38    Flags:           [ SHF_EXCLUDE ]39    AddressAlign:    0x140    Content:         1C000000050000000000000004000000080000000D000000760000007D00000041  - Name:            .debug_str.dwo42    Type:            SHT_PROGBITS43    Flags:           [ SHF_EXCLUDE, SHF_MERGE, SHF_STRINGS ]44    AddressAlign:    0x145    EntSize:         0x146    Content:         666F6F00696E74006D61696E00636C616E672076657273696F6E2031352E302E30202868747470733A2F2F6769746875622E636F6D2F6C6C766D2F6C6C766D2D70726F6A6563742E67697420313565336538396239626162323838363862303930656539663336326161386630333233303934372900746573742E630073706C69742D64776172662D73696E676C652E6F0047  - Name:            .debug_info.dwo48    Type:            SHT_PROGBITS49    Flags:           [ SHF_EXCLUDE ]50    AddressAlign:    0x151    Content:         3900000005000508000000000428758115ED87CF01030C00040502000B00000001560000013800000002011C000000015602000538000000030105040052  - Name:            .debug_abbrev.dwo53    Type:            SHT_PROGBITS54    Flags:           [ SHF_EXCLUDE ]55    AddressAlign:    0x156    Content:         01110125251305032576250000022E00111B1206401803253A0B3B0B49133F19000003240003253E0B0B0B00000057  - Name:            .debug_line58    Type:            SHT_PROGBITS59    AddressAlign:    0x160    Content:         5E0000000500080037000000010101FB0E0D00010101010000000100000101011F010000000003011F020F051E010000000000EF173AFD4B2F5E20815DE19BD24360F4040000090200000000000000000105030A4B0500BD05030AE559020800010161  - Name:            .debug_line_str62    Type:            SHT_PROGBITS63    Flags:           [ SHF_MERGE, SHF_STRINGS ]64    AddressAlign:    0x165    EntSize:         0x166    Content:         2E00746573742E630067  - Type:            SectionHeaderTable68    Sections:69      - Name:            .strtab70      - Name:            .debug_abbrev71      - Name:            .debug_info72      - Name:            .debug_str_offsets73      - Name:            .debug_str74      - Name:            .debug_str_offsets.dwo75      - Name:            .debug_str.dwo76      - Name:            .debug_info.dwo77      - Name:            .debug_abbrev.dwo78      - Name:            .debug_addr79      - Name:            .debug_line80      - Name:            .debug_line_str81DWARF:82  debug_str:83    - .84    - split-dwarf-single.o85  debug_addr:86    - Length:          0x1487      Version:         0x588      AddressSize:     0x889      Entries:90        - {}91        - Address:         0x1092...93