# Source code: # int foo() { # return 1; # } # # int main() { # foo(); # return 0; # } # Build instructions (clang version 15.0.0): # split-dwarf-split.dwo: clang -gsplit-dwarf=split -fdebug-compilation-dir=. test.c -fdebug-info-for-profiling -O0 -g -o split-dwarf-split.o -c # split-dwarf-split.dwo.yaml: obj2yaml split-dwarf-split.dwo > split-dwarf-split.dwo.yaml --- !ELF FileHeader: Class: ELFCLASS64 Data: ELFDATA2LSB Type: ET_REL Machine: EM_X86_64 SectionHeaderStringTable: .strtab Sections: - Name: .debug_str_offsets.dwo Type: SHT_PROGBITS Flags: [ SHF_EXCLUDE ] AddressAlign: 0x1 Content: 1C000000050000000000000004000000080000000D000000760000007D000000 - Name: .debug_str.dwo Type: SHT_PROGBITS Flags: [ SHF_EXCLUDE, SHF_MERGE, SHF_STRINGS ] AddressAlign: 0x1 EntSize: 0x1 Content: 666F6F00696E74006D61696E00636C616E672076657273696F6E2031352E302E30202868747470733A2F2F6769746875622E636F6D2F6C6C766D2F6C6C766D2D70726F6A6563742E67697420313565336538396239626162323838363862303930656539663336326161386630333233303934372900746573742E630073706C69742D64776172662D73706C69742E64776F00 - Name: .debug_info.dwo Type: SHT_PROGBITS Flags: [ SHF_EXCLUDE ] AddressAlign: 0x1 Content: 3900000005000508000000000428758115ED87CF01030C00040502000B00000001560000013800000002011C0000000156020005380000000301050400 - Name: .debug_abbrev.dwo Type: SHT_PROGBITS Flags: [ SHF_EXCLUDE ] AddressAlign: 0x1 Content: 01110125251305032576250000022E00111B1206401803253A0B3B0B49133F19000003240003253E0B0B0B000000 - Type: SectionHeaderTable Sections: - Name: .strtab - Name: .debug_str_offsets.dwo - Name: .debug_str.dwo - Name: .debug_info.dwo - Name: .debug_abbrev.dwo ...