LLVM 22.0.0git
llvm::DWARFDebugRangeList Class Reference

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

Classes

struct  RangeListEntry

Public Member Functions

 DWARFDebugRangeList ()
LLVM_ABI void clear ()
LLVM_ABI void dump (raw_ostream &OS) const
LLVM_ABI Error extract (const DWARFDataExtractor &data, uint64_t *offset_ptr)
const std::vector< RangeListEntry > & getEntries ()
LLVM_ABI DWARFAddressRangesVector getAbsoluteRanges (std::optional< object::SectionedAddress > BaseAddr) const
 getAbsoluteRanges - Returns absolute address ranges defined by this range list.

Detailed Description

Definition at line 25 of file DWARFDebugRangeList.h.

Constructor & Destructor Documentation

◆ DWARFDebugRangeList()

llvm::DWARFDebugRangeList::DWARFDebugRangeList ( )
inline

Definition at line 65 of file DWARFDebugRangeList.h.

References clear().

Member Function Documentation

◆ clear()

void DWARFDebugRangeList::clear ( )

Definition at line 25 of file DWARFDebugRangeList.cpp.

Referenced by DWARFDebugRangeList(), and extract().

◆ dump()

void DWARFDebugRangeList::dump ( raw_ostream & OS) const

Definition at line 67 of file DWARFDebugRangeList.cpp.

References llvm::format(), and llvm_unreachable.

Referenced by llvm::DWARFContext::dump().

◆ extract()

◆ getAbsoluteRanges()

DWARFAddressRangesVector DWARFDebugRangeList::getAbsoluteRanges ( std::optional< object::SectionedAddress > BaseAddr) const

getAbsoluteRanges - Returns absolute address ranges defined by this range list.

Has to be passed base address of the compile unit referencing this range list.

Definition at line 87 of file DWARFDebugRangeList.cpp.

References llvm::dwarf::computeTombstoneAddress(), DenseMapInfo< LocallyHashedType >::Tombstone, and llvm::DWARFAddressRange::LowPC.

Referenced by llvm::DWARFUnit::findRnglistFromOffset().

◆ getEntries()

const std::vector< RangeListEntry > & llvm::DWARFDebugRangeList::getEntries ( )
inline

Definition at line 70 of file DWARFDebugRangeList.h.


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