LLVM 20.0.0git
|
#include "llvm/DebugInfo/PDB/Native/PDBStringTable.h"
Public Member Functions | |
Error | reload (BinaryStreamReader &Reader) |
uint32_t | getByteSize () const |
uint32_t | getNameCount () const |
uint32_t | getHashVersion () const |
uint32_t | getSignature () const |
Expected< StringRef > | getStringForID (uint32_t ID) const |
Expected< uint32_t > | getIDForString (StringRef Str) const |
FixedStreamArray< support::ulittle32_t > | name_ids () const |
const codeview::DebugStringTableSubsectionRef & | getStringTable () const |
Definition at line 26 of file PDBStringTable.h.
uint32_t PDBStringTable::getByteSize | ( | ) | const |
Definition at line 21 of file PDBStringTable.cpp.
References llvm::pdb::PDBStringTableHeader::ByteSize.
uint32_t PDBStringTable::getHashVersion | ( | ) | const |
Definition at line 23 of file PDBStringTable.cpp.
References llvm::pdb::PDBStringTableHeader::HashVersion.
Definition at line 112 of file PDBStringTable.cpp.
References getStringForID(), llvm::pdb::hashStringV1(), llvm::pdb::hashStringV2(), llvm::pdb::PDBStringTableHeader::HashVersion, I, llvm::pdb::no_entry, and llvm::FixedStreamArray< T >::size().
uint32_t PDBStringTable::getNameCount | ( | ) | const |
Definition at line 22 of file PDBStringTable.cpp.
uint32_t PDBStringTable::getSignature | ( | ) | const |
Definition at line 24 of file PDBStringTable.cpp.
References llvm::pdb::PDBStringTableHeader::Signature.
Definition at line 108 of file PDBStringTable.cpp.
References llvm::codeview::DebugStringTableSubsectionRef::getString().
Referenced by llvm::pdb::DbiStream::getECName(), and getIDForString().
const codeview::DebugStringTableSubsectionRef & PDBStringTable::getStringTable | ( | ) | const |
Definition at line 57 of file PDBStringTable.cpp.
FixedStreamArray< support::ulittle32_t > PDBStringTable::name_ids | ( | ) | const |
Definition at line 137 of file PDBStringTable.cpp.
Error PDBStringTable::reload | ( | BinaryStreamReader & | Reader | ) |
Definition at line 83 of file PDBStringTable.cpp.
References assert(), llvm::pdb::PDBStringTableHeader::ByteSize, llvm::BinaryStreamReader::bytesRemaining(), llvm::BinaryStreamReader::split(), and llvm::Error::success().
Referenced by llvm::pdb::DbiStream::reload().