LLVM 22.0.0git
|
#include "llvm/DebugInfo/PDB/Native/GlobalsStream.h"
Public Member Functions | |
LLVM_ABI | GlobalsStream (std::unique_ptr< msf::MappedBlockStream > Stream) |
LLVM_ABI | ~GlobalsStream () |
const GSIHashTable & | getGlobalsTable () const |
LLVM_ABI Error | reload () |
LLVM_ABI std::vector< std::pair< uint32_t, codeview::CVSymbol > > | findRecordsByName (StringRef Name, const SymbolStream &Symbols) const |
Definition at line 71 of file GlobalsStream.h.
|
explicit |
Definition at line 35 of file GlobalsStream.cpp.
|
default |
std::vector< std::pair< uint32_t, codeview::CVSymbol > > GlobalsStream::findRecordsByName | ( | StringRef | Name, |
const SymbolStream & | Symbols | ||
) | const |
Definition at line 48 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 76 of file GlobalsStream.h.
Error GlobalsStream::reload | ( | ) |
Definition at line 40 of file GlobalsStream.cpp.
References llvm::pdb::GSIHashTable::read(), and llvm::Error::success().