| diff a/lib/DebugInfo/PDB/Raw/TpiStream.cpp b/lib/DebugInfo/PDB/Raw/TpiStream.cpp (rejected hunks) |
| @@ -101,7 +104,8 @@ |
| return EC; |
| |
| // Hash indices, hash values, etc come from the hash stream. |
| - HashStream.reset(new MappedBlockStream(Header->HashStreamIndex, Pdb)); |
| + HashStream.reset(new MappedBlockStream( |
| + llvm::make_unique<IndexedStreamData>(Header->HashStreamIndex, Pdb), Pdb)); |
| codeview::StreamReader HSR(*HashStream); |
| uint32_t NumHashValues = Header->HashValueBuffer.Length / sizeof(ulittle32_t); |
| HSR.setOffset(Header->HashValueBuffer.Off); |