LLVM  7.0.0svn
Public Member Functions | List of all members
llvm::pdb::PDBSymbolTypeUDT Class Reference

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

Inheritance diagram for llvm::pdb::PDBSymbolTypeUDT:
Inheritance graph
Collaboration diagram for llvm::pdb::PDBSymbolTypeUDT:
Collaboration graph

Public Member Functions

 PDBSymbolTypeUDT (const IPDBSession &PDBSession, std::unique_ptr< IPDBRawSymbol > UDTSymbol)
std::unique_ptr< PDBSymbolTypeUDTclone () const
void dump (PDBSymDumper &Dumper) const override
 Dumps the contents of a symbol a raw_ostream. More...
- Public Member Functions inherited from llvm::pdb::PDBSymbol
virtual ~PDBSymbol ()
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. More...
void defaultDump (raw_ostream &OS, int Indent) const
void dumpProperties () const
void dumpChildStats () const
PDB_SymType getSymTag () const
uint32_t getSymIndexId () const
template<typename T >
std::unique_ptr< TfindOneChild () const
std::unique_ptr< PDBSymbolclone () 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< IPDBEnumSymbolsfindInlineFramesByRVA (uint32_t RVA) 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 > Symbol)
- Protected Member Functions inherited from llvm::pdb::PDBSymbol
 PDBSymbol (const IPDBSession &PDBSession, std::unique_ptr< IPDBRawSymbol > Symbol)
 PDBSymbol (PDBSymbol &Symbol)
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< IPDBRawSymbolRawSymbol

Detailed Description

Definition at line 24 of file PDBSymbolTypeUDT.h.

Constructor & Destructor Documentation

◆ PDBSymbolTypeUDT()

PDBSymbolTypeUDT::PDBSymbolTypeUDT ( const IPDBSession PDBSession,
std::unique_ptr< IPDBRawSymbol UDTSymbol 

Definition at line 26 of file PDBSymbolTypeUDT.cpp.

References assert(), llvm::pdb::PDBSymbol::RawSymbol, and llvm::pdb::UDT.

Member Function Documentation

◆ clone()

std::unique_ptr<PDBSymbolTypeUDT> llvm::pdb::PDBSymbolTypeUDT::clone ( ) const

◆ dump()

void PDBSymbolTypeUDT::dump ( PDBSymDumper Dumper) const

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 32 of file PDBSymbolTypeUDT.cpp.

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

Referenced by clone().

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