class NativeFunctionSymbol

Declaration

class NativeFunctionSymbol : 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/NativeFunctionSymbol.h:23

Inherits from: NativeRawSymbol

Member Variables

protected const codeview::ProcSym Sym
protected uint32_t RecordOffset = 0

Inherited from NativeRawSymbol:

protected Session
protected Tag
protected SymbolId

Method Overview

Inherited from NativeRawSymbol:

Inherited from IPDBRawSymbol:

Methods

NativeFunctionSymbol(
    llvm::pdb::NativeSession& Session,
    llvm::pdb::SymIndexId Id,
    const codeview::ProcSym& Sym,
    uint32_t RecordOffset)

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativeFunctionSymbol.h:25

Parameters

llvm::pdb::NativeSession& Session
llvm::pdb::SymIndexId Id
const codeview::ProcSym& Sym
uint32_t RecordOffset

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/NativeFunctionSymbol.h:30

Parameters

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

std::unique_ptr<IPDBEnumSymbols>
findInlineFramesByVA(uint64_t VA) const

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

Parameters

uint64_t VA

uint32_t getAddressOffset() const

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

uint32_t getAddressSection() const

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

uint64_t getLength() const

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

std::string getName() const

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

uint32_t getRelativeVirtualAddress() const

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

uint64_t getVirtualAddress() const

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

~NativeFunctionSymbol()

Declared at: llvm/include/llvm/DebugInfo/PDB/Native/NativeFunctionSymbol.h:28