LLVM 22.0.0git
|
#include "llvm/DebugInfo/PDB/Native/PDBStringTable.h"
Public Member Functions | |
LLVM_ABI Error | reload (BinaryStreamReader &Reader) |
LLVM_ABI uint32_t | getByteSize () const |
LLVM_ABI uint32_t | getNameCount () const |
LLVM_ABI uint32_t | getHashVersion () const |
LLVM_ABI uint32_t | getSignature () const |
LLVM_ABI Expected< StringRef > | getStringForID (uint32_t ID) const |
LLVM_ABI Expected< uint32_t > | getIDForString (StringRef Str) const |
LLVM_ABI FixedStreamArray< support::ulittle32_t > | name_ids () const |
LLVM_ABI const codeview::DebugStringTableSubsectionRef & | getStringTable () const |
Definition at line 27 of file PDBStringTable.h.
uint32_t PDBStringTable::getByteSize | ( | ) | const |
Definition at line 21 of file PDBStringTable.cpp.
uint32_t PDBStringTable::getHashVersion | ( | ) | const |
Definition at line 23 of file PDBStringTable.cpp.
Definition at line 112 of file PDBStringTable.cpp.
References llvm::Count, getStringForID(), llvm::pdb::hashStringV1(), llvm::pdb::hashStringV2(), I, llvm::make_error(), and llvm::pdb::no_entry.
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.
Definition at line 108 of file PDBStringTable.cpp.
Referenced by getIDForString(), and llvm::pdb::InjectedSourceStream::reload().
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::BinaryStreamReader::bytesRemaining(), llvm::BinaryStreamReader::split(), and llvm::Error::success().