LLVM 20.0.0git
Public Attributes | List of all members
llvm::DWARFLocationEntry Struct Reference

A single location within a location list. More...

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

Public Attributes

uint8_t Kind
 The entry kind (DW_LLE_***).
 
uint64_t Value0
 The first value of the location entry (if applicable).
 
uint64_t Value1
 The second value of the location entry (if applicable).
 
uint64_t SectionIndex
 The index of the section this entry is relative to (if applicable).
 
SmallVector< uint8_t, 4 > Loc
 The location expression itself (if applicable).
 

Detailed Description

A single location within a location list.

Entries are stored in the DWARF5 form even if they originally come from a DWARF<=4 location list.

Definition at line 30 of file DWARFDebugLoc.h.

Member Data Documentation

◆ Kind

uint8_t llvm::DWARFLocationEntry::Kind

The entry kind (DW_LLE_***).

Definition at line 32 of file DWARFDebugLoc.h.

Referenced by llvm::DWARFDebugLoc::visitLocationList(), and llvm::DWARFDebugLoclists::visitLocationList().

◆ Loc

SmallVector<uint8_t, 4> llvm::DWARFLocationEntry::Loc

The location expression itself (if applicable).

Definition at line 44 of file DWARFDebugLoc.h.

Referenced by llvm::DWARFDebugLoc::visitLocationList(), and llvm::DWARFDebugLoclists::visitLocationList().

◆ SectionIndex

uint64_t llvm::DWARFLocationEntry::SectionIndex

The index of the section this entry is relative to (if applicable).

Definition at line 41 of file DWARFDebugLoc.h.

Referenced by llvm::DWARFDebugLoc::visitLocationList(), and llvm::DWARFDebugLoclists::visitLocationList().

◆ Value0

uint64_t llvm::DWARFLocationEntry::Value0

The first value of the location entry (if applicable).

Definition at line 35 of file DWARFDebugLoc.h.

Referenced by llvm::DWARFDebugLoc::visitLocationList(), and llvm::DWARFDebugLoclists::visitLocationList().

◆ Value1

uint64_t llvm::DWARFLocationEntry::Value1

The second value of the location entry (if applicable).

Definition at line 38 of file DWARFDebugLoc.h.

Referenced by llvm::DWARFDebugLoc::visitLocationList(), and llvm::DWARFDebugLoclists::visitLocationList().


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