diff options
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Raw/TpiStream.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/PDB/Raw/TpiStream.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Raw/TpiStream.cpp b/llvm/lib/DebugInfo/PDB/Raw/TpiStream.cpp index d0cda0eecf5..ae491c124fb 100644 --- a/llvm/lib/DebugInfo/PDB/Raw/TpiStream.cpp +++ b/llvm/lib/DebugInfo/PDB/Raw/TpiStream.cpp @@ -34,13 +34,6 @@ const uint32_t MinHashBuckets = 0x1000; const uint32_t MaxHashBuckets = 0x40000; } -static uint32_t HashBufferV8(uint8_t *buffer, uint32_t NumBuckets) { - // Not yet implemented, this is probably some variation of CRC32 but we need - // to be sure of the precise implementation otherwise we won't be able to work - // with persisted hash values. - return 0; -} - // This corresponds to `HDR` in PDB/dbi/tpi.h. struct TpiStream::HeaderInfo { struct EmbeddedBuf { @@ -67,7 +60,7 @@ struct TpiStream::HeaderInfo { TpiStream::TpiStream(const PDBFile &File, std::unique_ptr<MappedBlockStream> Stream) - : Pdb(File), Stream(std::move(Stream)), HashFunction(nullptr) {} + : Pdb(File), Stream(std::move(Stream)) {} TpiStream::~TpiStream() {} @@ -175,8 +168,6 @@ Error TpiStream::reload() { return make_error<RawError>(raw_error_code::corrupt_file, "TPI Stream Invalid number of hash buckets."); - HashFunction = HashBufferV8; - // The actual type records themselves come from this stream if (auto EC = Reader.readArray(TypeRecords, Header->TypeRecordBytes)) return EC; |