PDB symbol for a code label within a function or compiland.

Synopsis

Declared in <llvm/DebugInfo/PDB/PDBSymbolLabel.h>

class PDBSymbolLabel
    : public PDBSymbol

Description

Label symbols identify named addresses in the PDB lexical hierarchy. https://learn.microsoft.com/en‐us/visualstudio/debugger/debug‐interface‐access/label

Base Classes

Name

Description

PDBSymbol

Base class for concrete PDB symbol types such as functions and executables.

Member Functions

Name

Description

defaultDump

Dump this symbol with the default property formatting.

dump [virtual]

Dump this label symbol using the given dumper.

dumpChildStats

Dump statistics about this symbol's child symbols.

dumpProperties

Dump this symbol's properties to the standard debug stream.

dumpRight [virtual]

For certain PDBSymbolTypes, dumps additional information for the type that normally goes on the right side of the symbol.

findAllChildren

findAllChildren overloads

findChildren

Find child symbols of the given type whose name matches Name.

findChildrenByRVA

Find child symbols of the given type at a relative virtual address.

findInlineFramesByRVA

Find inline frames covering the given relative virtual address.

findInlineFramesByVA

Find inline frames covering the given absolute virtual address.

findInlineeLinesByRVA

Find inlinee line numbers covering a relative virtual address range.

findInlineeLinesByVA

Find inlinee line numbers covering an absolute virtual address range.

findOneChild

Return the first child of concrete type T, or nullptr if none exist.

getAddressOffset

Return the section‐relative address offset of this label.

getAddressSection

Return the section index of this label's address.

getChildStats

Collect and return child‐symbol statistics for this symbol.

getLexicalParent

Return the lexical parent of this label.

getLexicalParentId

Return the symbol id of this label's lexical parent.

getLocationType

Return the location type of this label.

getName

Return the name of this label.

getOffset

Return the offset associated with this label.

getRawSymbol

getRawSymbol overloads

getRelativeVirtualAddress

Return the relative virtual address of this label.

getSession

Return the PDB session that owns this symbol's context.

getSymIndexId

Return the unique symbol index ID for this symbol.

getSymTag

Return the DIA symbol tag for this symbol.

getVirtualAddress

Return the virtual address of this label.

hasCustomCallingConvention

Return true if this label uses a custom calling convention.

hasFarReturn

Return true if this label uses a far return.

hasInterruptReturn

Return true if this label uses an interrupt return.

hasNoInlineAttribute

Return true if this label has the noinline attribute.

hasNoReturnAttribute

Return true if this label has the noreturn attribute.

hasOptimizedCodeDebugInfo

Return true if this label has optimized‐code debug info.

isUnreached

Return true if this label's code is unreachable.

Static Member Functions

Name

Description

classof

True if S is a label PDB symbol.

create

create overloads

createAs

Create a symbol and cast it to the concrete type ConcreteT.

Static Data Members

Name

Description

Tag

The PDB symbol tag for label symbols (PDB_SymType::Label).

Protected Member Functions

Name

Description

getConcreteSymbolByIdHelper

Look up a symbol by ID and cast it to ConcreteType.

getSymbolByIdHelper

Look up a symbol by ID within this symbol's session.

Protected Data Members

Name

Description

OwnedRawSymbol

Owned underlying raw symbol, when this wrapper took ownership.

RawSymbol

Non‐owning pointer to the underlying raw symbol.

Session

PDB session that provides the context for this symbol.

Friends

Name

Description

llvm::pdb::PDBSymbol

Base class for concrete PDB symbol types such as functions and executables.

Created with MrDocs