LLVM 22.0.0git
llvm::pdb::GSIHashTable Class Reference

A readonly view of a hash table used in the globals and publics streams. More...

#include "llvm/DebugInfo/PDB/Native/GlobalsStream.h"

Public Types

typedef GSIHashHeader iterator

Public Member Functions

LLVM_ABI Error read (BinaryStreamReader &Reader)
uint32_t getVerSignature () const
uint32_t getVerHeader () const
uint32_t getHashRecordSize () const
uint32_t getNumBuckets () const
GSIHashIterator begin () const
GSIHashIterator end () const

Public Attributes

const GSIHashHeaderHashHdr
FixedStreamArray< PSHashRecordHashRecords
FixedStreamArray< support::ulittle32_tHashBitmap
FixedStreamArray< support::ulittle32_tHashBuckets
std::array< int32_t, IPHR_HASH+1 > BucketMap

Detailed Description

A readonly view of a hash table used in the globals and publics streams.

Most clients will only want to iterate this to get symbol record offsets into the PDB symbol stream.

Definition at line 51 of file GlobalsStream.h.

Member Typedef Documentation

◆ iterator

Member Function Documentation

◆ begin()

GSIHashIterator llvm::pdb::GSIHashTable::begin ( ) const
inline

Definition at line 67 of file GlobalsStream.h.

References HashRecords.

◆ end()

GSIHashIterator llvm::pdb::GSIHashTable::end ( ) const
inline

Definition at line 68 of file GlobalsStream.h.

References HashRecords.

◆ getHashRecordSize()

uint32_t llvm::pdb::GSIHashTable::getHashRecordSize ( ) const
inline

Definition at line 63 of file GlobalsStream.h.

References HashHdr.

◆ getNumBuckets()

uint32_t llvm::pdb::GSIHashTable::getNumBuckets ( ) const
inline

Definition at line 64 of file GlobalsStream.h.

References HashHdr.

◆ getVerHeader()

uint32_t llvm::pdb::GSIHashTable::getVerHeader ( ) const
inline

Definition at line 62 of file GlobalsStream.h.

References HashHdr.

◆ getVerSignature()

uint32_t llvm::pdb::GSIHashTable::getVerSignature ( ) const
inline

Definition at line 61 of file GlobalsStream.h.

References HashHdr.

◆ read()

Member Data Documentation

◆ BucketMap

std::array<int32_t, IPHR_HASH + 1> llvm::pdb::GSIHashTable::BucketMap

Definition at line 57 of file GlobalsStream.h.

Referenced by read().

◆ HashBitmap

FixedStreamArray<support::ulittle32_t> llvm::pdb::GSIHashTable::HashBitmap

Definition at line 55 of file GlobalsStream.h.

Referenced by read().

◆ HashBuckets

FixedStreamArray<support::ulittle32_t> llvm::pdb::GSIHashTable::HashBuckets

Definition at line 56 of file GlobalsStream.h.

Referenced by read().

◆ HashHdr

const GSIHashHeader* llvm::pdb::GSIHashTable::HashHdr

Definition at line 53 of file GlobalsStream.h.

Referenced by getHashRecordSize(), getNumBuckets(), getVerHeader(), getVerSignature(), and read().

◆ HashRecords

FixedStreamArray<PSHashRecord> llvm::pdb::GSIHashTable::HashRecords

Definition at line 54 of file GlobalsStream.h.

Referenced by begin(), end(), and read().


The documentation for this class was generated from the following files: