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

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

Collaboration diagram for llvm::DWARFDebugRangeList::RangeListEntry:
Collaboration graph
[legend]

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. More...
 
bool isBaseAddressSelectionEntry (uint8_t AddressSize) const
 A base address selection entry consists of: More...
 

Public Attributes

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

Detailed Description

Definition at line 25 of file DWARFDebugRangeList.h.

Member Function Documentation

◆ isBaseAddressSelectionEntry()

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

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 53 of file DWARFDebugRangeList.h.

References assert().

◆ 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 43 of file DWARFDebugRangeList.h.

Referenced by llvm::DWARFDebugRangeList::extract().

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 36 of file DWARFDebugRangeList.h.

Referenced by llvm::DWARFDebugRangeList::extract().

◆ SectionIndex

uint64_t llvm::DWARFDebugRangeList::RangeListEntry::SectionIndex

A section index this range belongs to.

Definition at line 38 of file DWARFDebugRangeList.h.

Referenced by llvm::DWARFDebugRangeList::extract().

◆ 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 30 of file DWARFDebugRangeList.h.

Referenced by llvm::DWARFDebugRangeList::extract().


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