LLVM  6.0.0svn
Classes | Public Member Functions | List of all members
llvm::DWARFDebugRangeList Class Reference

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

Classes

struct  RangeListEntry
 

Public Member Functions

 DWARFDebugRangeList ()
 
void clear ()
 
void dump (raw_ostream &OS) const
 
bool extract (const DWARFDataExtractor &data, uint32_t *offset_ptr)
 
const std::vector< RangeListEntry > & getEntries ()
 
DWARFAddressRangesVector getAbsoluteRanges (llvm::Optional< BaseAddress > BaseAddr) const
 getAbsoluteRanges - Returns absolute address ranges defined by this range list. More...
 

Detailed Description

Definition at line 65 of file DWARFDebugRangeList.h.

Constructor & Destructor Documentation

◆ DWARFDebugRangeList()

llvm::DWARFDebugRangeList::DWARFDebugRangeList ( )
inline

Definition at line 111 of file DWARFDebugRangeList.h.

References clear(), llvm::dump(), and extract.

Member Function Documentation

◆ clear()

void DWARFDebugRangeList::clear ( )

Definition at line 25 of file DWARFDebugRangeList.cpp.

Referenced by extract().

◆ dump()

void DWARFDebugRangeList::dump ( raw_ostream OS) const

Definition at line 61 of file DWARFDebugRangeList.cpp.

References llvm::format().

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

◆ extract()

bool DWARFDebugRangeList::extract ( const DWARFDataExtractor data,
uint32_t offset_ptr 
)

◆ getAbsoluteRanges()

DWARFAddressRangesVector DWARFDebugRangeList::getAbsoluteRanges ( llvm::Optional< BaseAddress 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 71 of file DWARFDebugRangeList.cpp.

References llvm::BaseAddress::Address, E, llvm::DWARFAddressRange::HighPC, llvm::DWARFAddressRange::LowPC, llvm::DWARFAddressRange::SectionIndex, and llvm::BaseAddress::SectionIndex.

Referenced by llvm::DWARFDie::getAddressRanges().

◆ getEntries()

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

Definition at line 116 of file DWARFDebugRangeList.h.


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