LLVM 20.0.0git
|
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 | |
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 GSIHashHeader * | HashHdr |
FixedStreamArray< PSHashRecord > | HashRecords |
FixedStreamArray< support::ulittle32_t > | HashBitmap |
FixedStreamArray< support::ulittle32_t > | HashBuckets |
std::array< int32_t, IPHR_HASH+1 > | BucketMap |
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 50 of file GlobalsStream.h.
Definition at line 65 of file GlobalsStream.h.
|
inline |
Definition at line 66 of file GlobalsStream.h.
References llvm::FixedStreamArray< T >::begin(), and HashRecords.
|
inline |
Definition at line 67 of file GlobalsStream.h.
References llvm::FixedStreamArray< T >::end(), and HashRecords.
|
inline |
Definition at line 62 of file GlobalsStream.h.
References HashHdr, and llvm::pdb::GSIHashHeader::HrSize.
|
inline |
Definition at line 63 of file GlobalsStream.h.
References HashHdr, and llvm::pdb::GSIHashHeader::NumBuckets.
|
inline |
Definition at line 61 of file GlobalsStream.h.
References HashHdr, and llvm::pdb::GSIHashHeader::VerHdr.
|
inline |
Definition at line 60 of file GlobalsStream.h.
References HashHdr, and llvm::pdb::GSIHashHeader::VerSignature.
Error GSIHashTable::read | ( | BinaryStreamReader & | Reader | ) |
Definition at line 170 of file GlobalsStream.cpp.
References BucketMap, HashBitmap, HashBuckets, HashHdr, HashRecords, llvm::pdb::GSIHashHeader::HrSize, readGSIHashBuckets(), readGSIHashHeader(), readGSIHashRecords(), and llvm::Error::success().
Referenced by llvm::pdb::GlobalsStream::reload(), and llvm::pdb::PublicsStream::reload().
std::array<int32_t, IPHR_HASH + 1> llvm::pdb::GSIHashTable::BucketMap |
Definition at line 56 of file GlobalsStream.h.
Referenced by llvm::pdb::GlobalsStream::findRecordsByName(), and read().
FixedStreamArray<support::ulittle32_t> llvm::pdb::GSIHashTable::HashBitmap |
Definition at line 54 of file GlobalsStream.h.
Referenced by read().
FixedStreamArray<support::ulittle32_t> llvm::pdb::GSIHashTable::HashBuckets |
Definition at line 55 of file GlobalsStream.h.
Referenced by llvm::pdb::GlobalsStream::findRecordsByName(), and read().
const GSIHashHeader* llvm::pdb::GSIHashTable::HashHdr |
Definition at line 52 of file GlobalsStream.h.
Referenced by getHashRecordSize(), getNumBuckets(), getVerHeader(), getVerSignature(), and read().
FixedStreamArray<PSHashRecord> llvm::pdb::GSIHashTable::HashRecords |
Definition at line 53 of file GlobalsStream.h.
Referenced by begin(), end(), llvm::pdb::GlobalsStream::findRecordsByName(), and read().