class NativeSymbolEnumerator

Declaration

class NativeSymbolEnumerator : public NativeRawSymbol { /* full declaration omitted */ };

Description

IPDBRawSymbol defines an interface used to represent an arbitrary symbol. It exposes a monolithic interface consisting of accessors for the union of all properties that are valid for any symbol type. This interface is then wrapped by a concrete class which exposes only those set of methods valid for this particular symbol type. See PDBSymbol.h for more details.

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h:24

Inherits from: NativeRawSymbol

Member Variables

protected const llvm::pdb::NativeTypeEnum& Parent
protected codeview::EnumeratorRecord Record

Inherited from NativeRawSymbol:

protected Session
protected Tag
protected SymbolId

Method Overview

Inherited from NativeRawSymbol:

Inherited from IPDBRawSymbol:

Methods

NativeSymbolEnumerator(
    llvm::pdb::NativeSession& Session,
    llvm::pdb::SymIndexId Id,
    const llvm::pdb::NativeTypeEnum& Parent,
    codeview::EnumeratorRecord Record)

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h:26

Parameters

llvm::pdb::NativeSession& Session
llvm::pdb::SymIndexId Id
const llvm::pdb::NativeTypeEnum& Parent
codeview::EnumeratorRecord Record

void dump(
    llvm::raw_ostream& OS,
    int Indent,
    llvm::pdb::PdbSymbolIdField ShowIdFields,
    llvm::pdb::PdbSymbolIdField RecurseIdFields)
    const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h:32

Parameters

llvm::raw_ostream& OS
int Indent
llvm::pdb::PdbSymbolIdField ShowIdFields
llvm::pdb::PdbSymbolIdField RecurseIdFields

llvm::pdb::SymIndexId getClassParentId() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h:35

llvm::pdb::PDB_DataKind getDataKind() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h:39

llvm::pdb::SymIndexId getLexicalParentId() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h:36

llvm::pdb::PDB_LocType getLocationType() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h:40

std::string getName() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h:37

llvm::pdb::SymIndexId getTypeId() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h:38

llvm::pdb::Variant getValue() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h:44

bool isConstType() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h:41

bool isUnalignedType() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h:43

bool isVolatileType() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h:42

~NativeSymbolEnumerator()

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativeSymbolEnumerator.h:30