Label (Debug Interface Access SDK)

A location in program code is identified by a SymTagLabel symbol.

Properties

The following table shows the properties that are valid for this symbol type.

Property

Data type

Description

IDiaSymbol::get_addressOffset

DWORD

Offset part of location; for details, see the LocationType.

IDiaSymbol::get_addressSection

DWORD

Section part of location; for details, see the LocationType.

IDiaSymbol::get_customCallingConvention

BOOL

TRUE if the label uses a custom calling convention.

IDiaSymbol::get_farReturn

BOOL

TRUE if label performs a far return.

IDiaSymbol::get_interruptReturn

BOOL

TRUE if label contains a return from interrupt.

IDiaSymbol::get_lexicalParent

IDiaSymbol*

Symbol for the enclosing compiland, block, or function.

IDiaSymbol::get_lexicalParentId

DWORD

ID of the lexical parent symbol.

IDiaSymbol::get_locationType

DWORD

Labels have static locations; for details, see the Symbol Locations enumeration.

IDiaSymbol::get_name

BSTR

The label's name.

IDiaSymbol::get_noInline

BOOL

TRUE if the label was specified with the noinline attribute.

IDiaSymbol::get_noReturn

BOOL

TRUE if the label was specified with the noreturn attribute.

IDiaSymbol::get_notReached

BOOL

TRUE if the label is never called.

IDiaSymbol::get_offset

LONG

Offset of symbol in memory; for details, see the LocationType, LocIsRegRel.

IDiaSymbol::get_optimizedCodeDebugInfo

BOOL

TRUE if the code has debug information for optimized code.

IDiaSymbol::get_relativeVirtualAddress

DWORD

Relative position of this label within its module.

IDiaSymbol::get_symIndexId

DWORD

Index ID of symbol.

IDiaSymbol::get_symTag

DWORD

Returns SymTagFuncDebugLabel (one of the SymTagEnum values).

IDiaSymbol::get_virtualAddress

ULONGLONG

Position of this label within the executable image.

See Also

Reference

Lexical Hierarchy of Symbol Types

LocationType

Symbol Locations