LLVM  15.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 91 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

◆ 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.

References File.

◆ getFile() [2/2]

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

Definition at line 113 of file InputFile.h.

References File.

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 229 of file InputFile.cpp.

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

◆ hasDebugStream()

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

Definition at line 116 of file InputFile.h.

◆ name()

StringRef SymbolGroup::name ( ) const

Definition at line 183 of file InputFile.cpp.

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

Friends And Related Function Documentation

◆ SymbolGroupIterator

friend class SymbolGroupIterator
friend

Definition at line 92 of file InputFile.h.


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