LLVM 20.0.0git
|
#include "llvm/DebugInfo/DWARF/DWARFDebugRangeList.h"
Classes | |
struct | RangeListEntry |
Public Member Functions | |
DWARFDebugRangeList () | |
void | clear () |
void | dump (raw_ostream &OS) const |
Error | extract (const DWARFDataExtractor &data, uint64_t *offset_ptr) |
const std::vector< RangeListEntry > & | getEntries () |
DWARFAddressRangesVector | getAbsoluteRanges (std::optional< object::SectionedAddress > BaseAddr) const |
getAbsoluteRanges - Returns absolute address ranges defined by this range list. | |
Definition at line 24 of file DWARFDebugRangeList.h.
|
inline |
Definition at line 64 of file DWARFDebugRangeList.h.
References clear().
void DWARFDebugRangeList::clear | ( | ) |
Definition at line 25 of file DWARFDebugRangeList.cpp.
Referenced by DWARFDebugRangeList(), and extract().
void DWARFDebugRangeList::dump | ( | raw_ostream & | OS | ) | const |
Definition at line 67 of file DWARFDebugRangeList.cpp.
References llvm::format(), llvm_unreachable, and OS.
Referenced by llvm::DWARFContext::dump().
Error DWARFDebugRangeList::extract | ( | const DWARFDataExtractor & | data, |
uint64_t * | offset_ptr | ||
) |
Definition at line 31 of file DWARFDebugRangeList.cpp.
References llvm::DWARFContext::checkAddressSizeSupported(), clear(), llvm::createStringError(), llvm::DataExtractor::getAddressSize(), llvm::DWARFDataExtractor::getRelocatedAddress(), llvm::invalid_argument, llvm::DataExtractor::isValidOffset(), and llvm::Error::success().
Referenced by llvm::DWARFContext::dump(), and llvm::DWARFUnit::extractRangeList().
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(), llvm::DWARFAddressRange::HighPC, llvm::DWARFAddressRange::LowPC, and llvm::DWARFAddressRange::SectionIndex.
Referenced by llvm::DWARFUnit::findRnglistFromOffset().
|
inline |
Definition at line 69 of file DWARFDebugRangeList.h.