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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
| ; REQUIRES: diasdk
; RUN: llvm-pdbutil explain \
; RUN: -offset=0xF000 \
; RUN: -offset=0xF004 \
; RUN: -offset=0xF008 \
; RUN: -offset=0xF00C \
; RUN: -offset=0xF00E \
; RUN: -offset=0xF010 \
; RUN: -offset=0xF012 \
; RUN: -offset=0xF014 \
; RUN: -offset=0xF016 \
; RUN: -offset=0xF018 \
; RUN: -offset=0xF01C \
; RUN: -offset=0xF020 \
; RUN: -offset=0xF024 \
; RUN: -offset=0xF028 \
; RUN: -offset=0xF02C \
; RUN: -offset=0xF030 \
; RUN: -offset=0xF034 \
; RUN: -offset=0xF038 \
; RUN: -offset=0xF03A \
; RUN: -offset=0xF03C \
; RUN: -offset=0xF03E \
; RUN: -offset=0xF040 \
; RUN: -offset=0xF0DC \
; RUN: %p/Inputs/InjectedSource.pdb | FileCheck %s
CHECK: Block:Offset = F:0000.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 0/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 0/64 of the DBI Stream Header.
CHECK-NEXT: which contains the DBI Stream Version Signature.
CHECK-NEXT: The current value is -1.
CHECK: Block:Offset = F:0004.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 4/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 4/64 of the DBI Stream Header.
CHECK-NEXT: which contains the DBI Stream Version Header.
CHECK-NEXT: The current value is 19990903.
CHECK: Block:Offset = F:0008.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 8/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 8/64 of the DBI Stream Header.
CHECK-NEXT: which contains the age of the DBI Stream.
CHECK-NEXT: The current value is 1.
CHECK: Block:Offset = F:000C.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 12/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 12/64 of the DBI Stream Header.
CHECK-NEXT: which contains the index of the Global Symbol Stream.
CHECK-NEXT: The current value is 7.
CHECK: Block:Offset = F:000E.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 14/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 14/64 of the DBI Stream Header.
CHECK-NEXT: which contains the build number.
CHECK-NEXT: The current value is 36363.
CHECK: Block:Offset = F:0010.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 16/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 16/64 of the DBI Stream Header.
CHECK-NEXT: which contains the index of the Public Symbol Stream.
CHECK-NEXT: The current value is 8.
CHECK: Block:Offset = F:0012.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 18/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 18/64 of the DBI Stream Header.
CHECK-NEXT: which contains the version of mspdb.dll.
CHECK-NEXT: The current value is 25547.
CHECK: Block:Offset = F:0014.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 20/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 20/64 of the DBI Stream Header.
CHECK-NEXT: which contains the index of the Symbol Record Stream.
CHECK-NEXT: The current value is 9.
CHECK: Block:Offset = F:0016.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 22/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 22/64 of the DBI Stream Header.
CHECK-NEXT: which contains the rbld of mspdb.dll.
CHECK-NEXT: The current value is 0.
CHECK: Block:Offset = F:0018.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 24/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 24/64 of the DBI Stream Header.
CHECK-NEXT: which contains the size of the Module Info Substream.
CHECK-NEXT: The current value is 232.
CHECK: Block:Offset = F:001C.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 28/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 28/64 of the DBI Stream Header.
CHECK-NEXT: which contains the size of the Section Contribution Substream.
CHECK-NEXT: The current value is 172.
CHECK: Block:Offset = F:0020.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 32/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 32/64 of the DBI Stream Header.
CHECK-NEXT: which contains the size of the Section Map Substream.
CHECK-NEXT: The current value is 84.
CHECK: Block:Offset = F:0024.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 36/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 36/64 of the DBI Stream Header.
CHECK-NEXT: which contains the size of the File Info Substream.
CHECK-NEXT: The current value is 132.
CHECK: Block:Offset = F:0028.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 40/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 40/64 of the DBI Stream Header.
CHECK-NEXT: which contains the size of the Type Server Map.
CHECK-NEXT: The current value is 0.
CHECK: Block:Offset = F:002C.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 44/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 44/64 of the DBI Stream Header.
CHECK-NEXT: which contains the index of the MFC Type Server stream.
CHECK-NEXT: The current value is 0.
CHECK: Block:Offset = F:0030.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 48/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 48/64 of the DBI Stream Header.
CHECK-NEXT: which contains the size of the Optional Debug Stream array.
CHECK-NEXT: The current value is 22.
CHECK: Block:Offset = F:0034.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 52/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 52/64 of the DBI Stream Header.
CHECK-NEXT: which contains the size of the Edit & Continue Substream.
CHECK-NEXT: The current value is 75.
CHECK: Block:Offset = F:0038.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 56/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 56/64 of the DBI Stream Header.
CHECK-NEXT: which contains the DBI Stream flags.
CHECK-NEXT: The current value is 0.
CHECK: Block:Offset = F:003A.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 58/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 58/64 of the DBI Stream Header.
CHECK-NEXT: which contains the machine type.
CHECK-NEXT: The current value is 34404.
CHECK: Block:Offset = F:003C.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 60/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 60/64 of the DBI Stream Header.
CHECK-NEXT: which contains reserved data.
CHECK-NEXT: The current value is 0.
CHECK: Block:Offset = F:003E.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 62/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 62/64 of the DBI Stream Header.
CHECK-NEXT: which contains reserved data.
CHECK-NEXT: The current value is 0.
CHECK: Block:Offset = F:0040.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 64/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 0/232 of the Module Info Substream.
CHECK-NEXT: which contains the descriptor for module 0 (D:\sandbox\nvtest\nvtest\x64\Debug\nvtest.obj).
CHECK: Block:Offset = F:00DC.
CHECK-NEXT: Address is in block 15 (allocated).
CHECK-NEXT: Address is at offset 220/781 of Stream 3 (DBI Stream).
CHECK-NEXT: Within the DBI stream:
CHECK-NEXT: address is at offset 156/232 of the Module Info Substream.
CHECK-NEXT: which contains the descriptor for module 1 (* Linker *).
|