mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
[pdb] Fix the TPI stream size computation.
We were inadvertently adding the size of the hash value stream to the size of the TPI stream, even though the hash value stream is an entirely separate stream. llvm-svn: 281636
This commit is contained in:
parent
a4e772ea61
commit
f7704110de
@ -64,8 +64,7 @@ Error TpiStreamBuilder::finalize() {
|
||||
}
|
||||
|
||||
uint32_t TpiStreamBuilder::calculateSerializedLength() const {
|
||||
return sizeof(TpiStreamHeader) + TypeRecordStream.getLength() +
|
||||
calculateHashBufferSize();
|
||||
return sizeof(TpiStreamHeader) + TypeRecordStream.getLength();
|
||||
}
|
||||
|
||||
uint32_t TpiStreamBuilder::calculateHashBufferSize() const {
|
||||
|
Loading…
Reference in New Issue
Block a user