1; REQUIRES: diasdk
2
3; RUN: llvm-pdbutil explain \
4; RUN: -offset=0x11000 \
5; RUN: -offset=0x11004 \
6; RUN: -offset=0x11008 \
7; RUN: -offset=0x1100C \
8; RUN: -offset=0x1101C \
9; RUN: %p/Inputs/InjectedSource.pdb | FileCheck %s
10
11
12CHECK:      Block:Offset = 11:0000.
13CHECK-NEXT: Address is in block 17 (allocated).
14CHECK-NEXT:   Address is at offset 0/202 of Stream 1 (PDB Stream).
15CHECK-NEXT:   Within the PDB stream:
16CHECK-NEXT:     address is at offset 0/28 of the PDB Stream Header.
17CHECK-NEXT:     which contains the PDB Stream Version Signature.
18CHECK-NEXT:     The current value is 20000404.
19
20CHECK:      Block:Offset = 11:0004.
21CHECK-NEXT: Address is in block 17 (allocated).
22CHECK-NEXT:   Address is at offset 4/202 of Stream 1 (PDB Stream).
23CHECK-NEXT:   Within the PDB stream:
24CHECK-NEXT:     address is at offset 4/28 of the PDB Stream Header.
25CHECK-NEXT:     which contains the signature of the PDB Stream.
26CHECK-NEXT:     The current value is 1521153653.
27
28CHECK:      Block:Offset = 11:0008.
29CHECK-NEXT: Address is in block 17 (allocated).
30CHECK-NEXT:   Address is at offset 8/202 of Stream 1 (PDB Stream).
31CHECK-NEXT:   Within the PDB stream:
32CHECK-NEXT:     address is at offset 8/28 of the PDB Stream Header.
33CHECK-NEXT:     which contains the age of the PDB.
34CHECK-NEXT:     The current value is 1.
35
36CHECK:      Block:Offset = 11:000C.
37CHECK-NEXT: Address is in block 17 (allocated).
38CHECK-NEXT:   Address is at offset 12/202 of Stream 1 (PDB Stream).
39CHECK-NEXT:   Within the PDB stream:
40CHECK-NEXT:     address is at offset 12/28 of the PDB Stream Header.
41CHECK-NEXT:     which contains the guid of the PDB.
42CHECK-NEXT:     The current value is {826BE46E-02ED-7043-9C27-20CCC07E92A7}.
43
44CHECK:      Block:Offset = 11:001C.
45CHECK-NEXT: Address is in block 17 (allocated).
46CHECK-NEXT:   Address is at offset 28/202 of Stream 1 (PDB Stream).
47CHECK-NEXT:   Within the PDB stream:
48CHECK-NEXT:     address is at offset 0/166 of the Named Stream Map.
49