LLVM  8.0.1
Public Types | Public Member Functions | Public Attributes | List of all members
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"

Collaboration diagram for llvm::pdb::GSIHashTable:
Collaboration graph
[legend]

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 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

Definition at line 66 of file GlobalsStream.h.

Member Function Documentation

◆ begin()

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

◆ end()

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

◆ getHashRecordSize()

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

Definition at line 63 of file GlobalsStream.h.

References llvm::pdb::GSIHashHeader::HrSize.

◆ getNumBuckets()

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

Definition at line 64 of file GlobalsStream.h.

References llvm::pdb::GSIHashHeader::NumBuckets.

◆ getVerHeader()

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

Definition at line 62 of file GlobalsStream.h.

References llvm::pdb::GSIHashHeader::VerHdr.

◆ getVerSignature()

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

Definition at line 61 of file GlobalsStream.h.

References llvm::pdb::GSIHashHeader::VerSignature.

◆ read()

Error GSIHashTable::read ( BinaryStreamReader Reader)

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 llvm::pdb::GlobalsStream::findRecordsByName().

◆ HashBitmap

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

Definition at line 55 of file GlobalsStream.h.

◆ HashBuckets

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

Definition at line 56 of file GlobalsStream.h.

Referenced by llvm::pdb::GlobalsStream::findRecordsByName().

◆ HashHdr

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

Definition at line 53 of file GlobalsStream.h.

◆ HashRecords

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

Definition at line 54 of file GlobalsStream.h.

Referenced by llvm::pdb::GlobalsStream::findRecordsByName().


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