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