LLVM 20.0.0git
Public Member Functions | Friends | List of all members
llvm::pdb::SymbolGroup Class Reference

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

Public Member Functions

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

Friends

class SymbolGroupIterator
 

Detailed Description

Definition at line 90 of file InputFile.h.

Constructor & Destructor Documentation

◆ SymbolGroup()

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

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(), and Printer.

◆ getDebugSubsections()

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

Definition at line 107 of file InputFile.h.

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

◆ getFile() [1/2]

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

Definition at line 113 of file InputFile.h.

◆ getFile() [2/2]

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

Definition at line 112 of file InputFile.h.

Referenced by isMyCode().

◆ getNameFromChecksums()

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

◆ getNameFromStringTable()

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

◆ getPdbModuleStream()

const ModuleDebugStreamRef & SymbolGroup::getPdbModuleStream ( ) const

Definition at line 230 of file InputFile.cpp.

References assert(), and llvm::pdb::InputFile::isPdb().

◆ hasDebugStream()

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

Definition at line 115 of file InputFile.h.

◆ name()

StringRef SymbolGroup::name ( ) const

Definition at line 184 of file InputFile.cpp.

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

Friends And Related Function Documentation

◆ SymbolGroupIterator

friend class SymbolGroupIterator
friend

Definition at line 91 of file InputFile.h.


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