blob: 3547269eff4de94a07c41c7de374e19c786d2181 [file] [log] [blame]
Zachary Turnerd8447992016-06-07 05:28:55 +00001diff a/lib/DebugInfo/PDB/Raw/TpiStream.cpp b/lib/DebugInfo/PDB/Raw/TpiStream.cpp (rejected hunks)
2@@ -101,7 +104,8 @@
3 return EC;
4
5 // Hash indices, hash values, etc come from the hash stream.
6- HashStream.reset(new MappedBlockStream(Header->HashStreamIndex, Pdb));
7+ HashStream.reset(new MappedBlockStream(
8+ llvm::make_unique<IndexedStreamData>(Header->HashStreamIndex, Pdb), Pdb));
9 codeview::StreamReader HSR(*HashStream);
10 uint32_t NumHashValues = Header->HashValueBuffer.Length / sizeof(ulittle32_t);
11 HSR.setOffset(Header->HashValueBuffer.Off);