• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-pdbutil pdb2yaml -module-syms %p/Inputs/empty.pdb \
2; RUN:   | FileCheck -check-prefix=YAML %s
3
4
5YAML: ---
6YAML: MSF:
7YAML:   SuperBlock:
8YAML:     BlockSize:       4096
9YAML:     FreeBlockMap:    2
10YAML:     NumBlocks:       25
11YAML:     NumDirectoryBytes: 136
12YAML:     Unknown1:        0
13YAML:     BlockMapAddr:    24
14YAML:   NumDirectoryBlocks: 1
15YAML:   DirectoryBlocks: [ 23 ]
16YAML:   NumStreams:      0
17YAML:   FileSize:        102400
18YAML: DbiStream:
19YAML:   VerHeader:       V70
20YAML:   Age:             1
21YAML:   BuildNumber:     35840
22YAML:   PdbDllVersion:   31101
23YAML:   PdbDllRbld:      0
24YAML:   Flags:           1
25YAML:   MachineType:     x86
26YAML:   Modules:
27YAML:     - Module:          'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
28YAML:       ObjFile:         'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
29YAML:       Modi:
30YAML:         Signature:       4
31YAML:         Records:
32YAML:           - Kind:            S_OBJNAME
33YAML:             ObjNameSym:
34YAML:               Signature:       0
35YAML:               ObjectName:      'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.obj'
36YAML:           - Kind:            S_COMPILE3
37YAML:             Compile3Sym:
38YAML:               Flags:           [ SecurityChecks ]
39YAML:               Machine:         Pentium3
40YAML:               FrontendMajor:   18
41YAML:               FrontendMinor:   0
42YAML:               FrontendBuild:   31101
43YAML:               FrontendQFE:     0
44YAML:               BackendMajor:    18
45YAML:               BackendMinor:    0
46YAML:               BackendBuild:    31101
47YAML:               BackendQFE:      0
48YAML:               Version:         'Microsoft (R) Optimizing Compiler'
49YAML:           - Kind:            S_GPROC32
50YAML:             ProcSym:
51YAML:               PtrParent:       0
52YAML:               PtrEnd:          196
53YAML:               PtrNext:         0
54YAML:               CodeSize:        10
55YAML:               DbgStart:        3
56YAML:               DbgEnd:          8
57YAML:               FunctionType:    4097
58YAML:               Offset:          16
59YAML:               Segment:         1
60YAML:               Flags:           [ HasFP ]
61YAML:               DisplayName:     main
62YAML:           - Kind:            S_FRAMEPROC
63YAML:             FrameProcSym:
64YAML:               TotalFrameBytes: 0
65YAML:               PaddingFrameBytes: 0
66YAML:               OffsetToPadding: 0
67YAML:               BytesOfCalleeSavedRegisters: 0
68YAML:               OffsetOfExceptionHandler: 0
69YAML:               SectionIdOfExceptionHandler: 0
70YAML:               Flags:           [ AsynchronousExceptionHandling, OptimizedForSpeed ]
71YAML:           - Kind:            S_END
72YAML:             ScopeEndSym:
73YAML:           - Kind:            S_BUILDINFO
74YAML:             BuildInfoSym:
75YAML:               BuildId:         4110
76YAML:     - Module:          '* Linker *'
77YAML:       ObjFile:         ''
78YAML:       Modi:
79YAML:         Signature:       4
80YAML:         Records:
81YAML:           - Kind:            S_OBJNAME
82YAML:             ObjNameSym:
83YAML:               Signature:       0
84YAML:               ObjectName:      '* Linker *'
85YAML:           - Kind:            S_COMPILE3
86YAML:             Compile3Sym:
87YAML:               Flags:           [  ]
88YAML:               Machine:         Intel80386
89YAML:               FrontendMajor:   0
90YAML:               FrontendMinor:   0
91YAML:               FrontendBuild:   0
92YAML:               FrontendQFE:     0
93YAML:               BackendMajor:    12
94YAML:               BackendMinor:    0
95YAML:               BackendBuild:    31101
96YAML:               BackendQFE:      0
97YAML:               Version:         'Microsoft (R) LINK'
98YAML:           - Kind:            S_ENVBLOCK
99YAML:             EnvBlockSym:
100YAML:               Entries:
101YAML:                 - cwd
102YAML:                 - 'd:\src\llvm\test\DebugInfo\PDB\Inputs'
103YAML:                 - exe
104YAML:                 - 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\link.exe'
105YAML:                 - pdb
106YAML:                 - 'd:\src\llvm\test\DebugInfo\PDB\Inputs\empty.pdb'
107YAML:           - Kind:            S_TRAMPOLINE
108YAML:             TrampolineSym:
109YAML:               Type:            TrampIncremental
110YAML:               Size:            5
111YAML:               ThunkOff:        5
112YAML:               TargetOff:       16
113YAML:               ThunkSection:    1
114YAML:               TargetSection:   1
115YAML:           - Kind:            S_SECTION
116YAML:             SectionSym:
117YAML:               SectionNumber:   1
118YAML:               Alignment:       12
119YAML:               Rva:             4096
120YAML:               Length:          4122
121YAML:               Characteristics: 1610612768
122YAML:               Name:            .text
123YAML:           - Kind:            S_COFFGROUP
124YAML:             CoffGroupSym:
125YAML:               Size:            4122
126YAML:               Characteristics: 1610612768
127YAML:               Offset:          0
128YAML:               Segment:         1
129YAML:               Name:            '.text$mn'
130YAML:           - Kind:            S_SECTION
131YAML:             SectionSym:
132YAML:               SectionNumber:   2
133YAML:               Alignment:       12
134YAML:               Rva:             12288
135YAML:               Length:          690
136YAML:               Characteristics: 1073741888
137YAML:               Name:            .rdata
138YAML:           - Kind:            S_COFFGROUP
139YAML:             CoffGroupSym:
140YAML:               Size:            323
141YAML:               Characteristics: 1073741888
142YAML:               Offset:          0
143YAML:               Segment:         2
144YAML:               Name:            .rdata
145YAML:           - Kind:            S_COFFGROUP
146YAML:             CoffGroupSym:
147YAML:               Size:            0
148YAML:               Characteristics: 1073741888
149YAML:               Offset:          323
150YAML:               Segment:         2
151YAML:               Name:            .edata
152YAML:           - Kind:            S_COFFGROUP
153YAML:             CoffGroupSym:
154YAML:               Size:            366
155YAML:               Characteristics: 1073741888
156YAML:               Offset:          324
157YAML:               Segment:         2
158YAML:               Name:            '.rdata$debug'
159YAML:           - Kind:            S_SECTION
160YAML:             SectionSym:
161YAML:               SectionNumber:   3
162YAML:               Alignment:       12
163YAML:               Rva:             16384
164YAML:               Length:          4
165YAML:               Characteristics: 3221225536
166YAML:               Name:            .data
167YAML:           - Kind:            S_COFFGROUP
168YAML:             CoffGroupSym:
169YAML:               Size:            4
170YAML:               Characteristics: 3221225600
171YAML:               Offset:          0
172YAML:               Segment:         3
173YAML:               Name:            .bss
174YAML:           - Kind:            S_SECTION
175YAML:             SectionSym:
176YAML:               SectionNumber:   4
177YAML:               Alignment:       12
178YAML:               Rva:             20480
179YAML:               Length:          8
180YAML:               Characteristics: 1107296320
181YAML:               Name:            .reloc
182YAML: ...
183