LLVM 22.0.0git
llvm::pdb::PDBStringTable Class Reference

#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< StringRefgetStringForID (uint32_t ID) const
LLVM_ABI Expected< uint32_tgetIDForString (StringRef Str) const
LLVM_ABI FixedStreamArray< support::ulittle32_tname_ids () const
LLVM_ABI const codeview::DebugStringTableSubsectionRefgetStringTable () const

Detailed Description

Definition at line 27 of file PDBStringTable.h.

Member Function Documentation

◆ getByteSize()

uint32_t PDBStringTable::getByteSize ( ) const

Definition at line 21 of file PDBStringTable.cpp.

◆ getHashVersion()

uint32_t PDBStringTable::getHashVersion ( ) const

Definition at line 23 of file PDBStringTable.cpp.

◆ getIDForString()

Expected< uint32_t > PDBStringTable::getIDForString ( StringRef Str) const

◆ getNameCount()

uint32_t PDBStringTable::getNameCount ( ) const

Definition at line 22 of file PDBStringTable.cpp.

◆ getSignature()

uint32_t PDBStringTable::getSignature ( ) const

Definition at line 24 of file PDBStringTable.cpp.

◆ getStringForID()

Expected< StringRef > PDBStringTable::getStringForID ( uint32_t ID) const

Definition at line 108 of file PDBStringTable.cpp.

Referenced by getIDForString(), and llvm::pdb::InjectedSourceStream::reload().

◆ getStringTable()

const codeview::DebugStringTableSubsectionRef & PDBStringTable::getStringTable ( ) const

Definition at line 57 of file PDBStringTable.cpp.

◆ name_ids()

FixedStreamArray< support::ulittle32_t > PDBStringTable::name_ids ( ) const

Definition at line 137 of file PDBStringTable.cpp.

◆ reload()


The documentation for this class was generated from the following files: