Debian Codegraph @

llvm/test/tools/llvm-profgen/Inputs/split-dwarf-split.dwo.yaml

raw
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 -c
14 # split-dwarf-split.dwo.yaml: obj2yaml split-dwarf-split.dwo > split-dwarf-split.dwo.yaml
15
16 --- !ELF
17 FileHeader:
18 Class: ELFCLASS64
19 Data: ELFDATA2LSB
20 Type: ET_REL
21 Machine: EM_X86_64
22 SectionHeaderStringTable: .strtab
23 Sections:
24 - Name: .debug_str_offsets.dwo
25 Type: SHT_PROGBITS
26 Flags: [ SHF_EXCLUDE ]
27 AddressAlign: 0x1
28 Content: 1C000000050000000000000004000000080000000D000000760000007D000000
29 - Name: .debug_str.dwo
30 Type: SHT_PROGBITS
31 Flags: [ SHF_EXCLUDE, SHF_MERGE, SHF_STRINGS ]
32 AddressAlign: 0x1
33 EntSize: 0x1
34 Content: 666F6F00696E74006D61696E00636C616E672076657273696F6E2031352E302E30202868747470733A2F2F6769746875622E636F6D2F6C6C766D2F6C6C766D2D70726F6A6563742E67697420313565336538396239626162323838363862303930656539663336326161386630333233303934372900746573742E630073706C69742D64776172662D73706C69742E64776F00
35 - Name: .debug_info.dwo
36 Type: SHT_PROGBITS
37 Flags: [ SHF_EXCLUDE ]
38 AddressAlign: 0x1
39 Content: 3900000005000508000000000428758115ED87CF01030C00040502000B00000001560000013800000002011C0000000156020005380000000301050400
40 - Name: .debug_abbrev.dwo
41 Type: SHT_PROGBITS
42 Flags: [ SHF_EXCLUDE ]
43 AddressAlign: 0x1
44 Content: 01110125251305032576250000022E00111B1206401803253A0B3B0B49133F19000003240003253E0B0B0B000000
45 - Type: SectionHeaderTable
46 Sections:
47 - Name: .strtab
48 - Name: .debug_str_offsets.dwo
49 - Name: .debug_str.dwo
50 - Name: .debug_info.dwo
51 - Name: .debug_abbrev.dwo
52 ...