Home | History | Annotate | Download | only in llvm-pdbdump
      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 
     10 CHECK:      Block:Offset = 11:0000.
     11 CHECK-NEXT: Address is in block 17 (allocated).
     12 CHECK-NEXT:   Address is at offset 0/202 of Stream 1 (PDB Stream).
     13 CHECK-NEXT:   Within the PDB stream:
     14 CHECK-NEXT:     address is at offset 0/28 of the PDB Stream Header.
     15 CHECK-NEXT:     which contains the PDB Stream Version Signature.
     16 CHECK-NEXT:     The current value is 20000404.
     17 
     18 CHECK:      Block:Offset = 11:0004.
     19 CHECK-NEXT: Address is in block 17 (allocated).
     20 CHECK-NEXT:   Address is at offset 4/202 of Stream 1 (PDB Stream).
     21 CHECK-NEXT:   Within the PDB stream:
     22 CHECK-NEXT:     address is at offset 4/28 of the PDB Stream Header.
     23 CHECK-NEXT:     which contains the signature of the PDB Stream.
     24 CHECK-NEXT:     The current value is 1521153653.
     25 
     26 CHECK:      Block:Offset = 11:0008.
     27 CHECK-NEXT: Address is in block 17 (allocated).
     28 CHECK-NEXT:   Address is at offset 8/202 of Stream 1 (PDB Stream).
     29 CHECK-NEXT:   Within the PDB stream:
     30 CHECK-NEXT:     address is at offset 8/28 of the PDB Stream Header.
     31 CHECK-NEXT:     which contains the age of the PDB.
     32 CHECK-NEXT:     The current value is 1.
     33 
     34 CHECK:      Block:Offset = 11:000C.
     35 CHECK-NEXT: Address is in block 17 (allocated).
     36 CHECK-NEXT:   Address is at offset 12/202 of Stream 1 (PDB Stream).
     37 CHECK-NEXT:   Within the PDB stream:
     38 CHECK-NEXT:     address is at offset 12/28 of the PDB Stream Header.
     39 CHECK-NEXT:     which contains the guid of the PDB.
     40 CHECK-NEXT:     The current value is {826BE46E-02ED-7043-9C27-20CCC07E92A7}.
     41 
     42 CHECK:      Block:Offset = 11:001C.
     43 CHECK-NEXT: Address is in block 17 (allocated).
     44 CHECK-NEXT:   Address is at offset 28/202 of Stream 1 (PDB Stream).
     45 CHECK-NEXT:   Within the PDB stream:
     46 CHECK-NEXT:     address is at offset 0/166 of the Named Stream Map.
     47