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

#include "llvm/DebugInfo/PDB/PDBSymbolFunc.h"

Inheritance diagram for llvm::pdb::PDBSymbolFunc:
Inheritance graph
[legend]

Public Member Functions

void dump (PDBSymDumper &Dumper) const override
 Dumps the contents of a symbol a raw_ostream.
 
bool isDestructor () const
 
std::unique_ptr< IPDBEnumChildren< PDBSymbolData > > getArguments () const
 
FORWARD_CONCRETE_SYMBOL_ID_METHOD_WITH_NAME(PDBSymbolTypeFunctionSig, getType, getSignature) std uint32_t getCompilandId () const
 
- Public Member Functions inherited from llvm::pdb::PDBSymbol
virtual ~PDBSymbol ()
 
virtual void dump (PDBSymDumper &Dumper) const =0
 Dumps the contents of a symbol a raw_ostream.
 
virtual void dumpRight (PDBSymDumper &Dumper) const
 For certain PDBSymbolTypes, dumps additional information for the type that normally goes on the right side of the symbol.
 
void defaultDump (raw_ostream &OS, int Indent, PdbSymbolIdField ShowFlags, PdbSymbolIdField RecurseFlags) const
 
void dumpProperties () const
 
void dumpChildStats () const
 
PDB_SymType getSymTag () const
 
uint32_t getSymIndexId () const
 
template<typename T >
std::unique_ptr< TfindOneChild () const
 
template<typename T >
std::unique_ptr< ConcreteSymbolEnumerator< T > > findAllChildren () const
 
std::unique_ptr< IPDBEnumSymbolsfindAllChildren (PDB_SymType Type) const
 
std::unique_ptr< IPDBEnumSymbolsfindAllChildren () const
 
std::unique_ptr< IPDBEnumSymbolsfindChildren (PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags) const
 
std::unique_ptr< IPDBEnumSymbolsfindChildrenByRVA (PDB_SymType Type, StringRef Name, PDB_NameSearchFlags Flags, uint32_t RVA) const
 
std::unique_ptr< IPDBEnumSymbolsfindInlineFramesByVA (uint64_t VA) const
 
std::unique_ptr< IPDBEnumSymbolsfindInlineFramesByRVA (uint32_t RVA) const
 
std::unique_ptr< IPDBEnumLineNumbersfindInlineeLinesByVA (uint64_t VA, uint32_t Length) const
 
std::unique_ptr< IPDBEnumLineNumbersfindInlineeLinesByRVA (uint32_t RVA, uint32_t Length) const
 
std::string getName () const
 
const IPDBRawSymbolgetRawSymbol () const
 
IPDBRawSymbolgetRawSymbol ()
 
const IPDBSessiongetSession () const
 
std::unique_ptr< IPDBEnumSymbolsgetChildStats (TagStats &Stats) const
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::pdb::PDBSymbol
static std::unique_ptr< PDBSymbolcreate (const IPDBSession &PDBSession, std::unique_ptr< IPDBRawSymbol > RawSymbol)
 
static std::unique_ptr< PDBSymbolcreate (const IPDBSession &PDBSession, IPDBRawSymbol &RawSymbol)
 
template<typename ConcreteT >
static std::unique_ptr< ConcreteT > createAs (const IPDBSession &PDBSession, std::unique_ptr< IPDBRawSymbol > RawSymbol)
 
template<typename ConcreteT >
static std::unique_ptr< ConcreteT > createAs (const IPDBSession &PDBSession, IPDBRawSymbol &RawSymbol)
 
- Protected Member Functions inherited from llvm::pdb::PDBSymbol
 PDBSymbol (const IPDBSession &PDBSession)
 
 PDBSymbol (PDBSymbol &&Other)
 
std::unique_ptr< PDBSymbolgetSymbolByIdHelper (uint32_t Id) const
 
template<typename ConcreteType >
std::unique_ptr< ConcreteType > getConcreteSymbolByIdHelper (uint32_t Id) const
 
- Protected Attributes inherited from llvm::pdb::PDBSymbol
const IPDBSessionSession
 
std::unique_ptr< IPDBRawSymbolOwnedRawSymbol
 
IPDBRawSymbolRawSymbol = nullptr
 

Detailed Description

Definition at line 26 of file PDBSymbolFunc.h.

Member Function Documentation

◆ dump()

void PDBSymbolFunc::dump ( PDBSymDumper Dumper) const
overridevirtual

Dumps the contents of a symbol a raw_ostream.

By default this will just call dump() on the underlying RawSymbol, which allows us to discover unknown properties, but individual implementations of PDBSymbol may override the behavior to only dump known fields.

Implements llvm::pdb::PDBSymbol.

Definition at line 87 of file PDBSymbolFunc.cpp.

References llvm::pdb::PDBSymDumper::dump().

◆ getArguments()

std::unique_ptr< IPDBEnumChildren< PDBSymbolData > > PDBSymbolFunc::getArguments ( ) const

Definition at line 83 of file PDBSymbolFunc.cpp.

References llvm::pdb::PDBSymbol::Session.

◆ getCompilandId()

uint32_t PDBSymbolFunc::getCompilandId ( ) const

Definition at line 106 of file PDBSymbolFunc.cpp.

◆ isDestructor()

bool PDBSymbolFunc::isDestructor ( ) const

Definition at line 89 of file PDBSymbolFunc.cpp.

References llvm::pdb::PDBSymbol::getName(), and Name.


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