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