LLVM 20.0.0git
Public Attributes | List of all members
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 21 of file DWARFLocationExpression.h.

Member Data Documentation

◆ Expr

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

The expression itself.

Definition at line 28 of file DWARFLocationExpression.h.

Referenced by llvm::operator<<().

◆ 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 25 of file DWARFLocationExpression.h.

Referenced by llvm::operator<<().


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