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