3 ; RUN: llvm-pdbutil explain \
4 ; RUN: -offset=0xF000 \
5 ; RUN: -offset=0xF004 \
6 ; RUN: -offset=0xF008 \
7 ; RUN: -offset=0xF00C \
8 ; RUN: -offset=0xF00E \
9 ; RUN: -offset=0xF010 \
10 ; RUN: -offset=0xF012 \
11 ; RUN: -offset=0xF014 \
12 ; RUN: -offset=0xF016 \
13 ; RUN: -offset=0xF018 \
14 ; RUN: -offset=0xF01C \
15 ; RUN: -offset=0xF020 \
16 ; RUN: -offset=0xF024 \
17 ; RUN: -offset=0xF028 \
18 ; RUN: -offset=0xF02C \
19 ; RUN: -offset=0xF030 \
20 ; RUN: -offset=0xF034 \
21 ; RUN: -offset=0xF038 \
22 ; RUN: -offset=0xF03A \
23 ; RUN: -offset=0xF03C \
24 ; RUN: -offset=0xF03E \
25 ; RUN: -offset=0xF040 \
26 ; RUN: -offset=0xF0DC \
27 ; RUN: %p/Inputs/InjectedSource.pdb | FileCheck %s
29 CHECK: Block:Offset = F:0000.
30 CHECK-NEXT: Address is in block 15 (allocated).
31 CHECK-NEXT: Address is at offset 0/781 of Stream 3 (DBI Stream).
32 CHECK-NEXT: Within the DBI stream:
33 CHECK-NEXT: address is at offset 0/64 of the DBI Stream Header.
34 CHECK-NEXT: which contains the DBI Stream Version Signature.
35 CHECK-NEXT: The current value is -1.
37 CHECK: Block:Offset = F:0004.
38 CHECK-NEXT: Address is in block 15 (allocated).
39 CHECK-NEXT: Address is at offset 4/781 of Stream 3 (DBI Stream).
40 CHECK-NEXT: Within the DBI stream:
41 CHECK-NEXT: address is at offset 4/64 of the DBI Stream Header.
42 CHECK-NEXT: which contains the DBI Stream Version Header.
43 CHECK-NEXT: The current value is 19990903.
45 CHECK: Block:Offset = F:0008.
46 CHECK-NEXT: Address is in block 15 (allocated).
47 CHECK-NEXT: Address is at offset 8/781 of Stream 3 (DBI Stream).
48 CHECK-NEXT: Within the DBI stream:
49 CHECK-NEXT: address is at offset 8/64 of the DBI Stream Header.
50 CHECK-NEXT: which contains the age of the DBI Stream.
51 CHECK-NEXT: The current value is 1.
53 CHECK: Block:Offset = F:000C.
54 CHECK-NEXT: Address is in block 15 (allocated).
55 CHECK-NEXT: Address is at offset 12/781 of Stream 3 (DBI Stream).
56 CHECK-NEXT: Within the DBI stream:
57 CHECK-NEXT: address is at offset 12/64 of the DBI Stream Header.
58 CHECK-NEXT: which contains the index of the Global Symbol Stream.
59 CHECK-NEXT: The current value is 7.
61 CHECK: Block:Offset = F:000E.
62 CHECK-NEXT: Address is in block 15 (allocated).
63 CHECK-NEXT: Address is at offset 14/781 of Stream 3 (DBI Stream).
64 CHECK-NEXT: Within the DBI stream:
65 CHECK-NEXT: address is at offset 14/64 of the DBI Stream Header.
66 CHECK-NEXT: which contains the build number.
67 CHECK-NEXT: The current value is 36363.
69 CHECK: Block:Offset = F:0010.
70 CHECK-NEXT: Address is in block 15 (allocated).
71 CHECK-NEXT: Address is at offset 16/781 of Stream 3 (DBI Stream).
72 CHECK-NEXT: Within the DBI stream:
73 CHECK-NEXT: address is at offset 16/64 of the DBI Stream Header.
74 CHECK-NEXT: which contains the index of the Public Symbol Stream.
75 CHECK-NEXT: The current value is 8.
77 CHECK: Block:Offset = F:0012.
78 CHECK-NEXT: Address is in block 15 (allocated).
79 CHECK-NEXT: Address is at offset 18/781 of Stream 3 (DBI Stream).
80 CHECK-NEXT: Within the DBI stream:
81 CHECK-NEXT: address is at offset 18/64 of the DBI Stream Header.
82 CHECK-NEXT: which contains the version of mspdb.dll.
83 CHECK-NEXT: The current value is 25547.
85 CHECK: Block:Offset = F:0014.
86 CHECK-NEXT: Address is in block 15 (allocated).
87 CHECK-NEXT: Address is at offset 20/781 of Stream 3 (DBI Stream).
88 CHECK-NEXT: Within the DBI stream:
89 CHECK-NEXT: address is at offset 20/64 of the DBI Stream Header.
90 CHECK-NEXT: which contains the index of the Symbol Record Stream.
91 CHECK-NEXT: The current value is 9.
93 CHECK: Block:Offset = F:0016.
94 CHECK-NEXT: Address is in block 15 (allocated).
95 CHECK-NEXT: Address is at offset 22/781 of Stream 3 (DBI Stream).
96 CHECK-NEXT: Within the DBI stream:
97 CHECK-NEXT: address is at offset 22/64 of the DBI Stream Header.
98 CHECK-NEXT: which contains the rbld of mspdb.dll.
99 CHECK-NEXT: The current value is 0.
101 CHECK: Block:Offset = F:0018.
102 CHECK-NEXT: Address is in block 15 (allocated).
103 CHECK-NEXT: Address is at offset 24/781 of Stream 3 (DBI Stream).
104 CHECK-NEXT: Within the DBI stream:
105 CHECK-NEXT: address is at offset 24/64 of the DBI Stream Header.
106 CHECK-NEXT: which contains the size of the Module Info Substream.
107 CHECK-NEXT: The current value is 232.
109 CHECK: Block:Offset = F:001C.
110 CHECK-NEXT: Address is in block 15 (allocated).
111 CHECK-NEXT: Address is at offset 28/781 of Stream 3 (DBI Stream).
112 CHECK-NEXT: Within the DBI stream:
113 CHECK-NEXT: address is at offset 28/64 of the DBI Stream Header.
114 CHECK-NEXT: which contains the size of the Section Contribution Substream.
115 CHECK-NEXT: The current value is 172.
117 CHECK: Block:Offset = F:0020.
118 CHECK-NEXT: Address is in block 15 (allocated).
119 CHECK-NEXT: Address is at offset 32/781 of Stream 3 (DBI Stream).
120 CHECK-NEXT: Within the DBI stream:
121 CHECK-NEXT: address is at offset 32/64 of the DBI Stream Header.
122 CHECK-NEXT: which contains the size of the Section Map Substream.
123 CHECK-NEXT: The current value is 84.
125 CHECK: Block:Offset = F:0024.
126 CHECK-NEXT: Address is in block 15 (allocated).
127 CHECK-NEXT: Address is at offset 36/781 of Stream 3 (DBI Stream).
128 CHECK-NEXT: Within the DBI stream:
129 CHECK-NEXT: address is at offset 36/64 of the DBI Stream Header.
130 CHECK-NEXT: which contains the size of the File Info Substream.
131 CHECK-NEXT: The current value is 132.
133 CHECK: Block:Offset = F:0028.
134 CHECK-NEXT: Address is in block 15 (allocated).
135 CHECK-NEXT: Address is at offset 40/781 of Stream 3 (DBI Stream).
136 CHECK-NEXT: Within the DBI stream:
137 CHECK-NEXT: address is at offset 40/64 of the DBI Stream Header.
138 CHECK-NEXT: which contains the size of the Type Server Map.
139 CHECK-NEXT: The current value is 0.
141 CHECK: Block:Offset = F:002C.
142 CHECK-NEXT: Address is in block 15 (allocated).
143 CHECK-NEXT: Address is at offset 44/781 of Stream 3 (DBI Stream).
144 CHECK-NEXT: Within the DBI stream:
145 CHECK-NEXT: address is at offset 44/64 of the DBI Stream Header.
146 CHECK-NEXT: which contains the index of the MFC Type Server stream.
147 CHECK-NEXT: The current value is 0.
149 CHECK: Block:Offset = F:0030.
150 CHECK-NEXT: Address is in block 15 (allocated).
151 CHECK-NEXT: Address is at offset 48/781 of Stream 3 (DBI Stream).
152 CHECK-NEXT: Within the DBI stream:
153 CHECK-NEXT: address is at offset 48/64 of the DBI Stream Header.
154 CHECK-NEXT: which contains the size of the Optional Debug Stream array.
155 CHECK-NEXT: The current value is 22.
157 CHECK: Block:Offset = F:0034.
158 CHECK-NEXT: Address is in block 15 (allocated).
159 CHECK-NEXT: Address is at offset 52/781 of Stream 3 (DBI Stream).
160 CHECK-NEXT: Within the DBI stream:
161 CHECK-NEXT: address is at offset 52/64 of the DBI Stream Header.
162 CHECK-NEXT: which contains the size of the Edit & Continue Substream.
163 CHECK-NEXT: The current value is 75.
165 CHECK: Block:Offset = F:0038.
166 CHECK-NEXT: Address is in block 15 (allocated).
167 CHECK-NEXT: Address is at offset 56/781 of Stream 3 (DBI Stream).
168 CHECK-NEXT: Within the DBI stream:
169 CHECK-NEXT: address is at offset 56/64 of the DBI Stream Header.
170 CHECK-NEXT: which contains the DBI Stream flags.
171 CHECK-NEXT: The current value is 0.
173 CHECK: Block:Offset = F:003A.
174 CHECK-NEXT: Address is in block 15 (allocated).
175 CHECK-NEXT: Address is at offset 58/781 of Stream 3 (DBI Stream).
176 CHECK-NEXT: Within the DBI stream:
177 CHECK-NEXT: address is at offset 58/64 of the DBI Stream Header.
178 CHECK-NEXT: which contains the machine type.
179 CHECK-NEXT: The current value is 34404.
181 CHECK: Block:Offset = F:003C.
182 CHECK-NEXT: Address is in block 15 (allocated).
183 CHECK-NEXT: Address is at offset 60/781 of Stream 3 (DBI Stream).
184 CHECK-NEXT: Within the DBI stream:
185 CHECK-NEXT: address is at offset 60/64 of the DBI Stream Header.
186 CHECK-NEXT: which contains reserved data.
187 CHECK-NEXT: The current value is 0.
189 CHECK: Block:Offset = F:003E.
190 CHECK-NEXT: Address is in block 15 (allocated).
191 CHECK-NEXT: Address is at offset 62/781 of Stream 3 (DBI Stream).
192 CHECK-NEXT: Within the DBI stream:
193 CHECK-NEXT: address is at offset 62/64 of the DBI Stream Header.
194 CHECK-NEXT: which contains reserved data.
195 CHECK-NEXT: The current value is 0.
197 CHECK: Block:Offset = F:0040.
198 CHECK-NEXT: Address is in block 15 (allocated).
199 CHECK-NEXT: Address is at offset 64/781 of Stream 3 (DBI Stream).
200 CHECK-NEXT: Within the DBI stream:
201 CHECK-NEXT: address is at offset 0/232 of the Module Info Substream.
202 CHECK-NEXT: which contains the descriptor for module 0 (D:\sandbox\nvtest\nvtest\x64\Debug\nvtest.obj).
204 CHECK: Block:Offset = F:00DC.
205 CHECK-NEXT: Address is in block 15 (allocated).
206 CHECK-NEXT: Address is at offset 220/781 of Stream 3 (DBI Stream).
207 CHECK-NEXT: Within the DBI stream:
208 CHECK-NEXT: address is at offset 156/232 of the Module Info Substream.
209 CHECK-NEXT: which contains the descriptor for module 1 (* Linker *).