[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / DebugInfo / PDB / Inputs / debug-subsections.yaml
blobab199d2f21a0a9848e585cbbc4edf173d5636cab
1 DbiStream:       
2   Modules:         
3     - Module:          'Foo.obj'
4       ObjFile:         'Foo.obj'
5       Subsections:     
6         - !CrossModuleExports
7           Exports:         
8             - LocalId:         4852
9               GlobalId:        9283
10             - LocalId:         2147487875
11               GlobalId:        9123
12     - Module:          'Bar.obj'
13       ObjFile:         'Bar.obj'
14       Subsections:     
15         - !CrossModuleExports
16           Exports:         
17             - LocalId:         4265
18               GlobalId:        6097
19             - LocalId:         4297
20               GlobalId:        4677
21         - !CrossModuleImports
22           Imports:         
23             - Module:          'Foo.obj'
24               Imports:         [ 4852, 2147487875 ]
25     - Module:          'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
26       ObjFile:         'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
27       SourceFiles:
28         - 'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp'
29       Subsections:
30         - !FileChecksums
31           Checksums:
32             - FileName:        'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp'
33               Kind:            MD5
34               Checksum:        A0A5BD0D3ECD93FC29D19DE826FBF4BC
35             - FileName:        'f:\dd\externalapis\windows\10\sdk\inc\winerror.h'
36               Kind:            MD5
37               Checksum:        1154D69F5B2650196E1FC34F4134E56B
38         - !Lines
39           CodeSize:        10
40           Flags:           [  ]
41           RelocOffset:     100016
42           RelocSegment:    1
43           Blocks:
44             - FileName:        'd:\src\llvm\test\debuginfo\pdb\inputs\empty.cpp'
45               Lines:
46                 - Offset:          0
47                   LineStart:       5
48                   IsStatement:     true
49                   EndDelta:        0
50                 - Offset:          3
51                   LineStart:       6
52                   IsStatement:     true
53                   EndDelta:        0
54                 - Offset:          8
55                   LineStart:       7
56                   IsStatement:     true
57                   EndDelta:        0
58               Columns:
59         - !InlineeLines
60           HasExtraFiles:   false
61           Sites:           
62             - FileName:        'f:\dd\externalapis\windows\10\sdk\inc\winerror.h'
63               LineNum:         26950
64               Inlinee:         22767
65     # The following subsections don't normally appear in PDB files, but we test
66     # them anyway
67     - Module:          'ObjFileSubsections'
68       ObjFile:         'ObjFileSubsections'
69       Subsections:
70         - !StringTable
71           Strings:
72             - 'String1'
73             - 'String2'
74             - 'String3'
75         - !Symbols
76           Records:
77             - Kind:            S_OBJNAME
78               ObjNameSym:
79                 Signature:       0
80                 ObjectName:      'ObjFileSubsections'
81         - !FrameData
82           Frames:
83             - CodeSize:           1
84               FrameFunc:          'MyFunc'
85               LocalSize:          2
86               MaxStackSize:       3
87               ParamsSize:         4
88               PrologSize:         5
89               RvaStart:           6
90               SavedRegsSize:      7
91 ...