xref: /llvm-project/lldb/test/API/functionalities/stats_api/main.yaml (revision dd7386d85f11cf6ad911b9827c7018fb08c6c205)
1--- !ELF
2FileHeader:
3  Class:           ELFCLASS64
4  Data:            ELFDATA2LSB
5  Type:            ET_EXEC
6  Machine:         EM_X86_64
7  Entry:           0x401020
8ProgramHeaders:
9  - Type:            PT_PHDR
10    Flags:           [ PF_R ]
11    VAddr:           0x400040
12    Align:           0x8
13  - Type:            PT_INTERP
14    Flags:           [ PF_R ]
15    FirstSec:        .interp
16    LastSec:         .interp
17    VAddr:           0x400318
18  - Type:            PT_LOAD
19    Flags:           [ PF_R ]
20    FirstSec:        .interp
21    LastSec:         .rela.dyn
22    VAddr:           0x400000
23    Align:           0x1000
24  - Type:            PT_LOAD
25    Flags:           [ PF_X, PF_R ]
26    FirstSec:        .init
27    LastSec:         .fini
28    VAddr:           0x401000
29    Align:           0x1000
30  - Type:            PT_LOAD
31    Flags:           [ PF_R ]
32    FirstSec:        .rodata
33    LastSec:         .eh_frame
34    VAddr:           0x402000
35    Align:           0x1000
36  - Type:            PT_LOAD
37    Flags:           [ PF_W, PF_R ]
38    FirstSec:        .init_array
39    LastSec:         .bss
40    VAddr:           0x403DF8
41    Align:           0x1000
42  - Type:            PT_DYNAMIC
43    Flags:           [ PF_W, PF_R ]
44    FirstSec:        .dynamic
45    LastSec:         .dynamic
46    VAddr:           0x403E08
47    Align:           0x8
48  - Type:            PT_NOTE
49    Flags:           [ PF_R ]
50    FirstSec:        .note.gnu.property
51    LastSec:         .note.gnu.property
52    VAddr:           0x400338
53    Align:           0x8
54  - Type:            PT_NOTE
55    Flags:           [ PF_R ]
56    FirstSec:        .note.gnu.build-id
57    LastSec:         .note.ABI-tag
58    VAddr:           0x400358
59    Align:           0x4
60  - Type:            PT_GNU_PROPERTY
61    Flags:           [ PF_R ]
62    FirstSec:        .note.gnu.property
63    LastSec:         .note.gnu.property
64    VAddr:           0x400338
65    Align:           0x8
66  - Type:            PT_GNU_EH_FRAME
67    Flags:           [ PF_R ]
68    FirstSec:        .eh_frame_hdr
69    LastSec:         .eh_frame_hdr
70    VAddr:           0x402010
71    Align:           0x4
72  - Type:            PT_GNU_STACK
73    Flags:           [ PF_W, PF_R ]
74    Align:           0x10
75  - Type:            PT_GNU_RELRO
76    Flags:           [ PF_R ]
77    FirstSec:        .init_array
78    LastSec:         .got.plt
79    VAddr:           0x403DF8
80Sections:
81  - Name:            .interp
82    Type:            SHT_PROGBITS
83    Flags:           [ SHF_ALLOC ]
84    Address:         0x400318
85    AddressAlign:    0x1
86    Content:         2F6C696236342F6C642D6C696E75782D7838362D36342E736F2E3200
87  - Name:            .note.gnu.property
88    Type:            SHT_NOTE
89    Flags:           [ SHF_ALLOC ]
90    Address:         0x400338
91    AddressAlign:    0x8
92    Notes:
93      - Name:            GNU
94        Desc:            028000C0040000000300000000000000
95        Type:            NT_GNU_PROPERTY_TYPE_0
96  - Name:            .note.gnu.build-id
97    Type:            SHT_NOTE
98    Flags:           [ SHF_ALLOC ]
99    Address:         0x400358
100    AddressAlign:    0x4
101    Notes:
102      - Name:            GNU
103        Desc:            85D91301922FA88F7A5C60D2002CC1421377E935
104        Type:            NT_PRPSINFO
105  - Name:            .note.ABI-tag
106    Type:            SHT_NOTE
107    Flags:           [ SHF_ALLOC ]
108    Address:         0x40037C
109    AddressAlign:    0x4
110    Notes:
111      - Name:            GNU
112        Desc:            '00000000030000000200000000000000'
113        Type:            NT_VERSION
114  - Name:            .gnu.hash
115    Type:            SHT_GNU_HASH
116    Flags:           [ SHF_ALLOC ]
117    Address:         0x4003A0
118    Link:            .dynsym
119    AddressAlign:    0x8
120    Header:
121      SymNdx:          0x1
122      Shift2:          0x0
123    BloomFilter:     [ 0x0 ]
124    HashBuckets:     [ 0x0 ]
125    HashValues:      [  ]
126  - Name:            .dynsym
127    Type:            SHT_DYNSYM
128    Flags:           [ SHF_ALLOC ]
129    Address:         0x4003C0
130    Link:            .dynstr
131    AddressAlign:    0x8
132  - Name:            .dynstr
133    Type:            SHT_STRTAB
134    Flags:           [ SHF_ALLOC ]
135    Address:         0x400438
136    AddressAlign:    0x1
137  - Name:            .gnu.version
138    Type:            SHT_GNU_versym
139    Flags:           [ SHF_ALLOC ]
140    Address:         0x4004CC
141    Link:            .dynsym
142    AddressAlign:    0x2
143    Entries:         [ 0, 2, 1, 1, 1 ]
144  - Name:            .gnu.version_r
145    Type:            SHT_GNU_verneed
146    Flags:           [ SHF_ALLOC ]
147    Address:         0x4004D8
148    Link:            .dynstr
149    AddressAlign:    0x8
150    Dependencies:
151      - Version:         1
152        File:            libc.so.6
153        Entries:
154          - Name:            GLIBC_2.34
155            Hash:            110530996
156            Flags:           0
157            Other:           2
158  - Name:            .rela.dyn
159    Type:            SHT_RELA
160    Flags:           [ SHF_ALLOC ]
161    Address:         0x4004F8
162    Link:            .dynsym
163    AddressAlign:    0x8
164    Relocations:
165      - Offset:          0x403FC8
166        Symbol:          __libc_start_main
167        Type:            R_X86_64_GLOB_DAT
168      - Offset:          0x403FD0
169        Symbol:          _ITM_deregisterTMCloneTable
170        Type:            R_X86_64_GLOB_DAT
171      - Offset:          0x403FD8
172        Symbol:          __gmon_start__
173        Type:            R_X86_64_GLOB_DAT
174      - Offset:          0x403FE0
175        Symbol:          _ITM_registerTMCloneTable
176        Type:            R_X86_64_GLOB_DAT
177  - Name:            .init
178    Type:            SHT_PROGBITS
179    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
180    Address:         0x401000
181    AddressAlign:    0x4
182    Offset:          0x1000
183    Content:         F30F1EFA4883EC08488B05C92F00004885C07402FFD04883C408C3
184  - Name:            .text
185    Type:            SHT_PROGBITS
186    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
187    Address:         0x401020
188    AddressAlign:    0x10
189    Content:         F30F1EFA31ED4989D15E4889E24883E4F050544531C031C948C7C720114000FF15832F0000F4662E0F1F840000000000F30F1EFAC3662E0F1F84000000000090488D3DA12F0000488D059A2F00004839F87415488B05562F00004885C07409FFE00F1F8000000000C30F1F8000000000488D3D712F0000488D356A2F00004829FE4889F048C1EE3F48C1F8034801C648D1FE7414488B05252F00004885C07408FFE0660F1F440000C30F1F8000000000F30F1EFA803D292F0000007513554889E5E87AFFFFFFC605172F0000015DC390C366662E0F1F8400000000000F1F4000F30F1EFAEB8A662E0F1F840000000000554889E55DC3662E0F1F840000000000554889E54883EC10C745FC00000000E8DCFFFFFF31C04883C4105DC3
190  - Name:            .fini
191    Type:            SHT_PROGBITS
192    Flags:           [ SHF_ALLOC, SHF_EXECINSTR ]
193    Address:         0x40113C
194    AddressAlign:    0x4
195    Content:         F30F1EFA4883EC084883C408C3
196  - Name:            .rodata
197    Type:            SHT_PROGBITS
198    Flags:           [ SHF_ALLOC ]
199    Address:         0x402000
200    AddressAlign:    0x8
201    Offset:          0x2000
202    Content:         '01000200000000000000000000000000'
203  - Name:            .eh_frame_hdr
204    Type:            SHT_PROGBITS
205    Flags:           [ SHF_ALLOC ]
206    Address:         0x402010
207    AddressAlign:    0x4
208    Content:         011B033B2C0000000400000010F0FFFF4800000040F0FFFF5C00000000F1FFFF7000000010F1FFFF90000000
209  - Name:            .eh_frame
210    Type:            SHT_PROGBITS
211    Flags:           [ SHF_ALLOC ]
212    Address:         0x402040
213    AddressAlign:    0x8
214    Content:         1400000000000000017A5200017810011B0C070890010000100000001C000000C0EFFFFF26000000004407101000000030000000DCEFFFFF05000000000000001C0000004400000088F0FFFF0600000000410E108602430D06410C07080000001C0000006400000078F0FFFF1C00000000410E108602430D06570C070800000000000000
215  - Name:            .init_array
216    Type:            SHT_INIT_ARRAY
217    Flags:           [ SHF_WRITE, SHF_ALLOC ]
218    Address:         0x403DF8
219    AddressAlign:    0x8
220    EntSize:         0x8
221    Offset:          0x2DF8
222    Content:         '0011400000000000'
223  - Name:            .fini_array
224    Type:            SHT_FINI_ARRAY
225    Flags:           [ SHF_WRITE, SHF_ALLOC ]
226    Address:         0x403E00
227    AddressAlign:    0x8
228    EntSize:         0x8
229    Content:         D010400000000000
230  - Name:            .dynamic
231    Type:            SHT_DYNAMIC
232    Flags:           [ SHF_WRITE, SHF_ALLOC ]
233    Address:         0x403E08
234    Link:            .dynstr
235    AddressAlign:    0x8
236    Entries:
237      - Tag:             DT_NEEDED
238        Value:           0x58
239      - Tag:             DT_NEEDED
240        Value:           0x67
241      - Tag:             DT_NEEDED
242        Value:           0x71
243      - Tag:             DT_NEEDED
244        Value:           0x7F
245      - Tag:             DT_INIT
246        Value:           0x401000
247      - Tag:             DT_FINI
248        Value:           0x40113C
249      - Tag:             DT_INIT_ARRAY
250        Value:           0x403DF8
251      - Tag:             DT_INIT_ARRAYSZ
252        Value:           0x8
253      - Tag:             DT_FINI_ARRAY
254        Value:           0x403E00
255      - Tag:             DT_FINI_ARRAYSZ
256        Value:           0x8
257      - Tag:             DT_GNU_HASH
258        Value:           0x4003A0
259      - Tag:             DT_STRTAB
260        Value:           0x400438
261      - Tag:             DT_SYMTAB
262        Value:           0x4003C0
263      - Tag:             DT_STRSZ
264        Value:           0x94
265      - Tag:             DT_SYMENT
266        Value:           0x18
267      - Tag:             DT_DEBUG
268        Value:           0x0
269      - Tag:             DT_RELA
270        Value:           0x4004F8
271      - Tag:             DT_RELASZ
272        Value:           0x60
273      - Tag:             DT_RELAENT
274        Value:           0x18
275      - Tag:             DT_VERNEED
276        Value:           0x4004D8
277      - Tag:             DT_VERNEEDNUM
278        Value:           0x1
279      - Tag:             DT_VERSYM
280        Value:           0x4004CC
281      - Tag:             DT_NULL
282        Value:           0x0
283      - Tag:             DT_NULL
284        Value:           0x0
285      - Tag:             DT_NULL
286        Value:           0x0
287      - Tag:             DT_NULL
288        Value:           0x0
289      - Tag:             DT_NULL
290        Value:           0x0
291      - Tag:             DT_NULL
292        Value:           0x0
293  - Name:            .got
294    Type:            SHT_PROGBITS
295    Flags:           [ SHF_WRITE, SHF_ALLOC ]
296    Address:         0x403FC8
297    AddressAlign:    0x8
298    EntSize:         0x8
299    Content:         '0000000000000000000000000000000000000000000000000000000000000000'
300  - Name:            .got.plt
301    Type:            SHT_PROGBITS
302    Flags:           [ SHF_WRITE, SHF_ALLOC ]
303    Address:         0x403FE8
304    AddressAlign:    0x8
305    EntSize:         0x8
306    Content:         '083E40000000000000000000000000000000000000000000'
307  - Name:            .data
308    Type:            SHT_PROGBITS
309    Flags:           [ SHF_WRITE, SHF_ALLOC ]
310    Address:         0x404000
311    AddressAlign:    0x1
312    Content:         '00000000'
313  - Name:            .bss
314    Type:            SHT_NOBITS
315    Flags:           [ SHF_WRITE, SHF_ALLOC ]
316    Address:         0x404004
317    AddressAlign:    0x1
318    Size:            0x4
319  - Name:            .comment
320    Type:            SHT_PROGBITS
321    Flags:           [ SHF_MERGE, SHF_STRINGS ]
322    AddressAlign:    0x1
323    EntSize:         0x1
324    Content:         4743433A2028474E55292031312E342E312032303233303630352028526564204861742031312E342E312D3229004743433A2028474E55292031332E322E312032303233313230352028526564204861742031332E322E312D362900636C616E672076657273696F6E2031372E302E36202843656E744F532031372E302E362D342E656C392900
325  - Name:            .gnu.build.attributes
326    Type:            SHT_NOTE
327    Address:         0x406008
328    AddressAlign:    0x4
329    Notes:
330      - Name:            "GA$\x013a1"
331        Desc:            '20104000000000004610400000000000'
332        Type:            NT_GNU_BUILD_ATTRIBUTE_OPEN
333      - Name:            "GA$\x013a1"
334        Desc:            '55104000000000005510400000000000'
335        Type:            NT_GNU_BUILD_ATTRIBUTE_OPEN
336      - Name:            "GA$\x013a1"
337        Desc:            '00104000000000001610400000000000'
338        Type:            NT_GNU_BUILD_ATTRIBUTE_OPEN
339      - Name:            "GA$\x013a1"
340        Desc:            3C114000000000004411400000000000
341        Type:            NT_GNU_BUILD_ATTRIBUTE_OPEN
342      - Name:            "GA$\x013a1"
343        Desc:            '60104000000000000611400000000000'
344        Type:            NT_GNU_BUILD_ATTRIBUTE_OPEN
345      - Name:            "GA$\x013a1"
346        Desc:            3C114000000000003C11400000000000
347        Type:            NT_GNU_BUILD_ATTRIBUTE_OPEN
348      - Name:            "GA$\x013a1"
349        Desc:            3C114000000000003C11400000000000
350        Type:            NT_GNU_BUILD_ATTRIBUTE_OPEN
351      - Name:            "GA$\x013a1"
352        Desc:            16104000000000001B10400000000000
353        Type:            NT_GNU_BUILD_ATTRIBUTE_OPEN
354      - Name:            "GA$\x013a1"
355        Desc:            '44114000000000004911400000000000'
356        Type:            NT_GNU_BUILD_ATTRIBUTE_OPEN
357  - Name:            .debug_info
358    Type:            SHT_PROGBITS
359    AddressAlign:    0x1
360    Content:         2C000000040000000000080100000000000000000E000000939F5FCB7816797B10114000000000002C00000000000000
361  - Name:            .debug_abbrev
362    Type:            SHT_PROGBITS
363    AddressAlign:    0x1
364    Content:         01110010171B0EB44219B0420EB1420711011206B34217000000
365  - Name:            .debug_line
366    Type:            SHT_PROGBITS
367    AddressAlign:    0x1
368    Content:         47000000040020000000010101FB0E0D000101010100000001000001006D61696E2E637070000000000000090210114000000000000105050A0B4B0500BD05050AE559060B2E0206000101
369  - Name:            .debug_addr
370    Type:            SHT_PROGBITS
371    AddressAlign:    0x1
372    Content:         '10114000000000002011400000000000'
373  - Name:            .debug_gnu_pubnames
374    Type:            SHT_PROGBITS
375    AddressAlign:    0x1
376    Content:         21000000020000000000300000001900000030666F6F0025000000306D61696E0000000000
377  - Name:            .debug_gnu_pubtypes
378    Type:            SHT_PROGBITS
379    AddressAlign:    0x1
380    Content:         '17000000020000000000300000003400000090696E740000000000'
381Symbols:
382  - Name:            crt1.o
383    Type:            STT_FILE
384    Index:           SHN_ABS
385  - Name:            __abi_tag
386    Type:            STT_OBJECT
387    Section:         .note.ABI-tag
388    Value:           0x40037C
389    Size:            0x20
390  - Name:            crtstuff.c
391    Type:            STT_FILE
392    Index:           SHN_ABS
393  - Name:            deregister_tm_clones
394    Type:            STT_FUNC
395    Section:         .text
396    Value:           0x401060
397  - Name:            register_tm_clones
398    Type:            STT_FUNC
399    Section:         .text
400    Value:           0x401090
401  - Name:            __do_global_dtors_aux
402    Type:            STT_FUNC
403    Section:         .text
404    Value:           0x4010D0
405  - Name:            completed.0
406    Type:            STT_OBJECT
407    Section:         .bss
408    Value:           0x404004
409    Size:            0x1
410  - Name:            __do_global_dtors_aux_fini_array_entry
411    Type:            STT_OBJECT
412    Section:         .fini_array
413    Value:           0x403E00
414  - Name:            frame_dummy
415    Type:            STT_FUNC
416    Section:         .text
417    Value:           0x401100
418  - Name:            __frame_dummy_init_array_entry
419    Type:            STT_OBJECT
420    Section:         .init_array
421    Value:           0x403DF8
422  - Name:            main.cpp
423    Type:            STT_FILE
424    Index:           SHN_ABS
425  - Name:            'crtstuff.c (1)'
426    Type:            STT_FILE
427    Index:           SHN_ABS
428  - Name:            __FRAME_END__
429    Type:            STT_OBJECT
430    Section:         .eh_frame
431    Value:           0x4020C0
432  - Type:            STT_FILE
433    Index:           SHN_ABS
434  - Name:            __GNU_EH_FRAME_HDR
435    Section:         .eh_frame_hdr
436    Value:           0x402010
437  - Name:            _DYNAMIC
438    Type:            STT_OBJECT
439    Section:         .dynamic
440    Value:           0x403E08
441  - Name:            _GLOBAL_OFFSET_TABLE_
442    Type:            STT_OBJECT
443    Section:         .got.plt
444    Value:           0x403FE8
445  - Name:            _edata
446    Section:         .data
447    Binding:         STB_GLOBAL
448    Value:           0x404004
449  - Name:            data_start
450    Section:         .data
451    Binding:         STB_WEAK
452    Value:           0x404000
453  - Name:            _IO_stdin_used
454    Type:            STT_OBJECT
455    Section:         .rodata
456    Binding:         STB_GLOBAL
457    Value:           0x402000
458    Size:            0x4
459  - Name:            main
460    Type:            STT_FUNC
461    Section:         .text
462    Binding:         STB_GLOBAL
463    Value:           0x401120
464    Size:            0x1C
465  - Name:            __dso_handle
466    Type:            STT_OBJECT
467    Section:         .rodata
468    Binding:         STB_GLOBAL
469    Value:           0x402008
470    Other:           [ STV_HIDDEN ]
471  - Name:            _fini
472    Type:            STT_FUNC
473    Section:         .fini
474    Binding:         STB_GLOBAL
475    Value:           0x40113C
476    Other:           [ STV_HIDDEN ]
477  - Name:            '__libc_start_main@GLIBC_2.34'
478    Type:            STT_FUNC
479    Binding:         STB_GLOBAL
480  - Name:            _dl_relocate_static_pie
481    Type:            STT_FUNC
482    Section:         .text
483    Binding:         STB_GLOBAL
484    Value:           0x401050
485    Size:            0x5
486    Other:           [ STV_HIDDEN ]
487  - Name:            _start
488    Type:            STT_FUNC
489    Section:         .text
490    Binding:         STB_GLOBAL
491    Value:           0x401020
492    Size:            0x26
493  - Name:            _init
494    Type:            STT_FUNC
495    Section:         .init
496    Binding:         STB_GLOBAL
497    Value:           0x401000
498    Other:           [ STV_HIDDEN ]
499  - Name:            __TMC_END__
500    Type:            STT_OBJECT
501    Section:         .data
502    Binding:         STB_GLOBAL
503    Value:           0x404008
504    Other:           [ STV_HIDDEN ]
505  - Name:            __data_start
506    Section:         .data
507    Binding:         STB_GLOBAL
508    Value:           0x404000
509  - Name:            _end
510    Section:         .bss
511    Binding:         STB_GLOBAL
512    Value:           0x404008
513  - Name:            __bss_start
514    Section:         .bss
515    Binding:         STB_GLOBAL
516    Value:           0x404004
517  - Name:            _Z3foov
518    Type:            STT_FUNC
519    Section:         .text
520    Binding:         STB_GLOBAL
521    Value:           0x401110
522    Size:            0x6
523  - Name:            _ITM_deregisterTMCloneTable
524    Binding:         STB_WEAK
525  - Name:            __gmon_start__
526    Binding:         STB_WEAK
527  - Name:            _ITM_registerTMCloneTable
528    Binding:         STB_WEAK
529DynamicSymbols:
530  - Name:            __libc_start_main
531    Type:            STT_FUNC
532    Binding:         STB_GLOBAL
533  - Name:            _ITM_deregisterTMCloneTable
534    Binding:         STB_WEAK
535  - Name:            __gmon_start__
536    Binding:         STB_WEAK
537  - Name:            _ITM_registerTMCloneTable
538    Binding:         STB_WEAK
539DWARF:
540  debug_str:
541    - '/tmp/test_dwo'
542    - main-main.dwo
543...
544