LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::DWARFDebugRangeList::RangeListEntry Struct Reference

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

Public Member Functions

bool isEndOfListEntry () const
 The end of any given range list is marked by an end of list entry, which consists of a 0 for the beginning address offset and a 0 for the ending address offset.
 
bool isBaseAddressSelectionEntry (uint8_t AddressSize) const
 A base address selection entry consists of:
 

Public Attributes

uint64_t StartAddress
 A beginning address offset.
 
uint64_t EndAddress
 An ending address offset.
 
uint64_t SectionIndex
 A section index this range belongs to.
 

Detailed Description

Definition at line 26 of file DWARFDebugRangeList.h.

Member Function Documentation

◆ isBaseAddressSelectionEntry()

bool DWARFDebugRangeList::RangeListEntry::isBaseAddressSelectionEntry ( uint8_t  AddressSize) const

A base address selection entry consists of:

  1. The value of the largest representable address offset (for example, 0xffffffff when the size of an address is 32 bits).
  2. An address, which defines the appropriate base address for use in interpreting the beginning and ending address offsets of subsequent entries of the location list.

Definition at line 19 of file DWARFDebugRangeList.cpp.

References assert(), llvm::dwarf::computeTombstoneAddress(), llvm::DWARFContext::isAddressSizeSupported(), and StartAddress.

◆ isEndOfListEntry()

bool llvm::DWARFDebugRangeList::RangeListEntry::isEndOfListEntry ( ) const
inline

The end of any given range list is marked by an end of list entry, which consists of a 0 for the beginning address offset and a 0 for the ending address offset.

Definition at line 44 of file DWARFDebugRangeList.h.

References EndAddress, and StartAddress.

Member Data Documentation

◆ EndAddress

uint64_t llvm::DWARFDebugRangeList::RangeListEntry::EndAddress

An ending address offset.

This address offset again has the size of an address and is relative to the applicable base address of the compilation unit referencing this range list. It marks the first address past the end of the address range. The ending address must be greater than or equal to the beginning address.

Definition at line 37 of file DWARFDebugRangeList.h.

Referenced by isEndOfListEntry().

◆ SectionIndex

uint64_t llvm::DWARFDebugRangeList::RangeListEntry::SectionIndex

A section index this range belongs to.

Definition at line 39 of file DWARFDebugRangeList.h.

◆ StartAddress

uint64_t llvm::DWARFDebugRangeList::RangeListEntry::StartAddress

A beginning address offset.

This address offset has the size of an address and is relative to the applicable base address of the compilation unit referencing this range list. It marks the beginning of an address range.

Definition at line 31 of file DWARFDebugRangeList.h.

Referenced by isBaseAddressSelectionEntry(), and isEndOfListEntry().


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