forked from OSchip/llvm-project
parent
d1cd30b218
commit
ced0853b46
|
@ -1,11 +0,0 @@
|
|||
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);
|
Loading…
Reference in New Issue