53 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-split.dwo: clang -gsplit-dwarf=split -fdebug-compilation-dir=. test.c -fdebug-info-for-profiling -O0 -g -o split-dwarf-split.o -c14# split-dwarf-split.dwo.yaml: obj2yaml split-dwarf-split.dwo > split-dwarf-split.dwo.yaml15 16--- !ELF17FileHeader:18 Class: ELFCLASS6419 Data: ELFDATA2LSB20 Type: ET_REL21 Machine: EM_X86_6422 SectionHeaderStringTable: .strtab23Sections:24 - Name: .debug_str_offsets.dwo25 Type: SHT_PROGBITS26 Flags: [ SHF_EXCLUDE ]27 AddressAlign: 0x128 Content: 1C000000050000000000000004000000080000000D000000760000007D00000029 - Name: .debug_str.dwo30 Type: SHT_PROGBITS31 Flags: [ SHF_EXCLUDE, SHF_MERGE, SHF_STRINGS ]32 AddressAlign: 0x133 EntSize: 0x134 Content: 666F6F00696E74006D61696E00636C616E672076657273696F6E2031352E302E30202868747470733A2F2F6769746875622E636F6D2F6C6C766D2F6C6C766D2D70726F6A6563742E67697420313565336538396239626162323838363862303930656539663336326161386630333233303934372900746573742E630073706C69742D64776172662D73706C69742E64776F0035 - Name: .debug_info.dwo36 Type: SHT_PROGBITS37 Flags: [ SHF_EXCLUDE ]38 AddressAlign: 0x139 Content: 3900000005000508000000000428758115ED87CF01030C00040502000B00000001560000013800000002011C000000015602000538000000030105040040 - Name: .debug_abbrev.dwo41 Type: SHT_PROGBITS42 Flags: [ SHF_EXCLUDE ]43 AddressAlign: 0x144 Content: 01110125251305032576250000022E00111B1206401803253A0B3B0B49133F19000003240003253E0B0B0B00000045 - Type: SectionHeaderTable46 Sections:47 - Name: .strtab48 - Name: .debug_str_offsets.dwo49 - Name: .debug_str.dwo50 - Name: .debug_info.dwo51 - Name: .debug_abbrev.dwo52...53