class NativePublicSymbol

Declaration

class NativePublicSymbol : 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/NativePublicSymbol.h:21

Inherits from: NativeRawSymbol

Member Variables

protected const codeview::PublicSym32 Sym

Inherited from NativeRawSymbol:

protected Session
protected Tag
protected SymbolId

Method Overview

Inherited from NativeRawSymbol:

Inherited from IPDBRawSymbol:

Methods

NativePublicSymbol(
    llvm::pdb::NativeSession& Session,
    llvm::pdb::SymIndexId Id,
    const codeview::PublicSym32& Sym)

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativePublicSymbol.h:23

Parameters

llvm::pdb::NativeSession& Session
llvm::pdb::SymIndexId Id
const codeview::PublicSym32& Sym

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/NativePublicSymbol.h:28

Parameters

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

uint32_t getAddressOffset() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativePublicSymbol.h:31

uint32_t getAddressSection() const

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

std::string getName() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativePublicSymbol.h:33

uint32_t getRelativeVirtualAddress() const

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativePublicSymbol.h:34

uint64_t getVirtualAddress() const

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

~NativePublicSymbol()

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