reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/DebugInfo/PDB/Native/TpiStream.cpp
   48   if (Reader.readObject(Header))
   52   if (Header->Version != PdbTpiV80)
   56   if (Header->HeaderSize != sizeof(TpiStreamHeader))
   60   if (Header->HashKeySize != sizeof(ulittle32_t))
   64   if (Header->NumHashBuckets < MinTpiHashBuckets ||
   65       Header->NumHashBuckets > MaxTpiHashBuckets)
   71           Reader.readSubstream(TypeRecordsSubstream, Header->TypeRecordBytes))
   80   if (Header->HashStreamIndex != kInvalidStreamIndex) {
   81     auto HS = Pdb.safelyCreateIndexedStream(Header->HashStreamIndex);
   91         Header->HashValueBuffer.Length / sizeof(ulittle32_t);
   96     HSR.setOffset(Header->HashValueBuffer.Off);
  100     HSR.setOffset(Header->IndexOffsetBuffer.Off);
  102         Header->IndexOffsetBuffer.Length / sizeof(TypeIndexOffset);
  106     if (Header->HashAdjBuffer.Length > 0) {
  107       HSR.setOffset(Header->HashAdjBuffer.Off);
  121   uint32_t Value = Header->Version;
  125 uint32_t TpiStream::TypeIndexBegin() const { return Header->TypeIndexBegin; }
  127 uint32_t TpiStream::TypeIndexEnd() const { return Header->TypeIndexEnd; }
  134   return Header->HashStreamIndex;
  138   return Header->HashAuxStreamIndex;
  141 uint32_t TpiStream::getNumHashBuckets() const { return Header->NumHashBuckets; }
  142 uint32_t TpiStream::getHashKeySize() const { return Header->HashKeySize; }
  150   HashMap.resize(Header->NumHashBuckets);
  152   TypeIndex TIB{Header->TypeIndexBegin};
  153   TypeIndex TIE{Header->TypeIndexEnd};
  164   uint32_t Bucket = hashStringV1(Name) % Header->NumHashBuckets;
  192   uint32_t BucketIdx = ForwardTRH->FullRecordHash % Header->NumHashBuckets;