LLVM 20.0.0git
|
#include "llvm/DebugInfo/PDB/Native/GlobalsStream.h"
Public Member Functions | |
GlobalsStream (std::unique_ptr< msf::MappedBlockStream > Stream) | |
~GlobalsStream () | |
const GSIHashTable & | getGlobalsTable () const |
Error | reload () |
std::vector< std::pair< uint32_t, codeview::CVSymbol > > | findRecordsByName (StringRef Name, const SymbolStream &Symbols) const |
Definition at line 70 of file GlobalsStream.h.
|
explicit |
Definition at line 36 of file GlobalsStream.cpp.
|
default |
std::vector< std::pair< uint32_t, codeview::CVSymbol > > GlobalsStream::findRecordsByName | ( | StringRef | Name, |
const SymbolStream & | Symbols | ||
) | const |
Definition at line 49 of file GlobalsStream.cpp.
References assert(), llvm::pdb::GSIHashTable::BucketMap, llvm::codeview::getSymbolName(), llvm::pdb::GSIHashTable::HashBuckets, llvm::pdb::GSIHashTable::HashRecords, llvm::pdb::hashStringV1(), llvm::pdb::IPHR_HASH, LLVM_LIKELY, Name, llvm::pdb::PSHashRecord::Off, llvm::FixedStreamArray< T >::size(), and llvm::pdb::Symbols.
|
inline |
Definition at line 74 of file GlobalsStream.h.
Error GlobalsStream::reload | ( | ) |
Definition at line 41 of file GlobalsStream.cpp.
References llvm::pdb::GSIHashTable::read(), and llvm::Error::success().