LLVM  8.0.1
Public Member Functions | List of all members
llvm::pdb::PDBStringTable Class Reference

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

Detailed Description

Definition at line 34 of file PDBStringTable.h.

Member Function Documentation

◆ getByteSize()

uint32_t PDBStringTable::getByteSize ( ) const

Definition at line 23 of file PDBStringTable.cpp.

◆ getHashVersion()

uint32_t PDBStringTable::getHashVersion ( ) const

Definition at line 25 of file PDBStringTable.cpp.

◆ getIDForString()

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

Definition at line 114 of file PDBStringTable.cpp.

References llvm::pdb::hashStringV1(), and llvm::pdb::hashStringV2().

◆ getNameCount()

uint32_t PDBStringTable::getNameCount ( ) const

Definition at line 24 of file PDBStringTable.cpp.

◆ getSignature()

uint32_t PDBStringTable::getSignature ( ) const

◆ getStringForID()

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

Definition at line 110 of file PDBStringTable.cpp.

Referenced by llvm::pdb::DbiStream::getECName().

◆ getStringTable()

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

◆ name_ids()

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

Definition at line 139 of file PDBStringTable.cpp.

◆ reload()

Error PDBStringTable::reload ( BinaryStreamReader Reader)

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