LLVM
8.0.1
|
#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 34 of file PDBStringTable.h.
uint32_t PDBStringTable::getByteSize | ( | ) | const |
Definition at line 23 of file PDBStringTable.cpp.
uint32_t PDBStringTable::getHashVersion | ( | ) | const |
Definition at line 25 of file PDBStringTable.cpp.
Definition at line 114 of file PDBStringTable.cpp.
References llvm::pdb::hashStringV1(), and llvm::pdb::hashStringV2().
uint32_t PDBStringTable::getNameCount | ( | ) | const |
Definition at line 24 of file PDBStringTable.cpp.
uint32_t PDBStringTable::getSignature | ( | ) | const |
Definition at line 26 of file PDBStringTable.cpp.
References assert(), llvm::BinaryStreamReader::bytesRemaining(), llvm::joinErrors(), llvm::pdb::PDBStringTableSignature, llvm::BinaryStreamReader::readObject(), llvm::BinaryStreamReader::readStreamRef(), and llvm::Error::success().
Definition at line 110 of file PDBStringTable.cpp.
Referenced by llvm::pdb::DbiStream::getECName().
const codeview::DebugStringTableSubsectionRef & PDBStringTable::getStringTable | ( | ) | const |
Definition at line 59 of file PDBStringTable.cpp.
References assert(), llvm::BinaryStreamReader::bytesRemaining(), llvm::joinErrors(), llvm::BinaryStreamReader::readArray(), llvm::BinaryStreamReader::readInteger(), llvm::BinaryStreamReader::readObject(), and llvm::Error::success().
FixedStreamArray< support::ulittle32_t > PDBStringTable::name_ids | ( | ) | const |
Definition at line 139 of file PDBStringTable.cpp.
Error PDBStringTable::reload | ( | BinaryStreamReader & | Reader | ) |
Definition at line 85 of file PDBStringTable.cpp.
References assert(), llvm::BinaryStreamReader::bytesRemaining(), llvm::BinaryStreamReader::split(), and llvm::Error::success().
Referenced by llvm::pdb::DbiStream::reload().