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

A class representing a single range list entry. More...

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

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

Public Member Functions

Error extract (DWARFDataExtractor Data, uint32_t End, uint32_t *OffsetPtr)
 
void dump (raw_ostream &OS, uint8_t AddrSize, uint8_t MaxEncodingStringLength, uint64_t &CurrentBase, DIDumpOptions DumpOpts, llvm::function_ref< Optional< SectionedAddress >(uint32_t)> LookupPooledAddress) const
 
bool isSentinel () const
 

Public Attributes

uint64_t Value0
 The values making up the range list entry. More...
 
uint64_t Value1
 
- Public Attributes inherited from llvm::DWARFListEntryBase
uint32_t Offset
 The offset at which the entry is located in the section. More...
 
uint8_t EntryKind
 The DWARF encoding (DW_RLE_* or DW_LLE_*). More...
 
uint64_t SectionIndex
 The index of the section this entry belongs to. More...
 

Detailed Description

A class representing a single range list entry.

Definition at line 30 of file DWARFDebugRnglists.h.

Member Function Documentation

◆ dump()

void RangeListEntry::dump ( raw_ostream OS,
uint8_t  AddrSize,
uint8_t  MaxEncodingStringLength,
uint64_t &  CurrentBase,
DIDumpOptions  DumpOpts,
llvm::function_ref< Optional< SectionedAddress >(uint32_t)>  LookupPooledAddress 
) const

◆ extract()

Error RangeListEntry::extract ( DWARFDataExtractor  Data,
uint32_t  End,
uint32_t OffsetPtr 
)

Definition at line 20 of file DWARFDebugRnglists.cpp.

◆ isSentinel()

bool llvm::RangeListEntry::isSentinel ( ) const
inline

Definition at line 43 of file DWARFDebugRnglists.h.

References llvm::DWARFListEntryBase::EntryKind.

Member Data Documentation

◆ Value0

uint64_t llvm::RangeListEntry::Value0

The values making up the range list entry.

Most represent a range with a start and end address or a start address and a length. Others are single value base addresses or end-of-list with no values. The unneeded values are semantically undefined, but initialized to 0.

Definition at line 35 of file DWARFDebugRnglists.h.

Referenced by dump().

◆ Value1

uint64_t llvm::RangeListEntry::Value1

Definition at line 36 of file DWARFDebugRnglists.h.

Referenced by dump().


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