LLVM 22.0.0git
llvm::DWARFLocationExpression Struct Reference

Represents a single DWARF expression, whose value is location-dependent. More...

#include "llvm/DebugInfo/DWARF/DWARFLocationExpression.h"

Public Attributes

std::optional< DWARFAddressRangeRange
 The address range in which this expression is valid.
SmallVector< uint8_t, 4 > Expr
 The expression itself.

Detailed Description

Represents a single DWARF expression, whose value is location-dependent.

Typically used in DW_AT_location attributes to describe the location of objects.

Definition at line 22 of file DWARFLocationExpression.h.

Member Data Documentation

◆ Expr

SmallVector<uint8_t, 4> llvm::DWARFLocationExpression::Expr

The expression itself.

Definition at line 29 of file DWARFLocationExpression.h.

◆ Range

std::optional<DWARFAddressRange> llvm::DWARFLocationExpression::Range

The address range in which this expression is valid.

std::nullopt denotes a default entry which is valid in addresses not covered by other location expressions, or everywhere if there are no other expressions.

Definition at line 26 of file DWARFLocationExpression.h.


The documentation for this struct was generated from the following file: