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

#include "llvm/DebugInfo/PDB/Native/InputFile.h"

Public Member Functions

LLVM_ABI SymbolGroup (InputFile *File, uint32_t GroupIndex=0)
LLVM_ABI Expected< StringRefgetNameFromStringTable (uint32_t Offset) const
LLVM_ABI Expected< StringRefgetNameFromChecksums (uint32_t Offset) const
LLVM_ABI void formatFromFileName (LinePrinter &Printer, StringRef File, bool Append=false) const
LLVM_ABI void formatFromChecksumsOffset (LinePrinter &Printer, uint32_t Offset, bool Append=false) const
LLVM_ABI StringRef name () const
codeview::DebugSubsectionArray getDebugSubsections () const
LLVM_ABI const ModuleDebugStreamRefgetPdbModuleStream () const
const InputFilegetFile () const
InputFilegetFile ()
bool hasDebugStream () const

Friends

class SymbolGroupIterator

Detailed Description

Definition at line 91 of file InputFile.h.

Constructor & Destructor Documentation

◆ SymbolGroup()

SymbolGroup::SymbolGroup ( InputFile * File,
uint32_t GroupIndex = 0 )
explicit

Definition at line 157 of file InputFile.cpp.

References I, and isDebugSSection().

Member Function Documentation

◆ formatFromChecksumsOffset()

void SymbolGroup::formatFromChecksumsOffset ( LinePrinter & Printer,
uint32_t Offset,
bool Append = false ) const

◆ formatFromFileName()

void SymbolGroup::formatFromFileName ( LinePrinter & Printer,
StringRef File,
bool Append = false ) const

Definition at line 259 of file InputFile.cpp.

References formatChecksumKind(), formatInternal(), Printer, and llvm::toHex().

◆ getDebugSubsections()

codeview::DebugSubsectionArray llvm::pdb::SymbolGroup::getDebugSubsections ( ) const
inline

Definition at line 108 of file InputFile.h.

Referenced by llvm::pdb::iterateModuleSubsections().

◆ getFile() [1/2]

InputFile & llvm::pdb::SymbolGroup::getFile ( )
inline

Definition at line 114 of file InputFile.h.

◆ getFile() [2/2]

const InputFile & llvm::pdb::SymbolGroup::getFile ( ) const
inline

Definition at line 113 of file InputFile.h.

Referenced by isMyCode().

◆ getNameFromChecksums()

Expected< StringRef > SymbolGroup::getNameFromChecksums ( uint32_t Offset) const

Definition at line 239 of file InputFile.cpp.

References getNameFromStringTable(), and llvm::pdb::Offset.

◆ getNameFromStringTable()

Expected< StringRef > SymbolGroup::getNameFromStringTable ( uint32_t Offset) const

Definition at line 235 of file InputFile.cpp.

References llvm::pdb::Offset.

Referenced by formatFromChecksumsOffset(), and getNameFromChecksums().

◆ getPdbModuleStream()

const ModuleDebugStreamRef & SymbolGroup::getPdbModuleStream ( ) const

Definition at line 230 of file InputFile.cpp.

References assert().

◆ hasDebugStream()

bool llvm::pdb::SymbolGroup::hasDebugStream ( ) const
inline

Definition at line 116 of file InputFile.h.

◆ name()

StringRef SymbolGroup::name ( ) const

Definition at line 184 of file InputFile.cpp.

Referenced by isMyCode(), and llvm::pdb::iterateOneModule().

◆ SymbolGroupIterator

friend class SymbolGroupIterator
friend

Definition at line 92 of file InputFile.h.

References LLVM_ABI, llvm::pdb::Offset, Printer, and SymbolGroupIterator.

Referenced by SymbolGroupIterator.


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