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