LLVM API Documentation
#include <DWARFDebugRangeList.h>
Classes | |
struct | RangeListEntry |
Public Member Functions | |
DWARFDebugRangeList () | |
void | clear () |
void | dump (raw_ostream &OS) const |
bool | extract (DataExtractor data, uint32_t *offset_ptr) |
bool | containsAddress (uint64_t BaseAddress, uint64_t Address) const |
Definition at line 20 of file DWARFDebugRangeList.h.
|
inline |
Definition at line 66 of file DWARFDebugRangeList.h.
References clear().
void DWARFDebugRangeList::clear | ( | ) |
Definition at line 16 of file DWARFDebugRangeList.cpp.
Referenced by DWARFDebugRangeList(), and extract().
bool DWARFDebugRangeList::containsAddress | ( | uint64_t | BaseAddress, |
uint64_t | Address | ||
) | const |
containsAddress - Returns true if range list contains the given address. Has to be passed base address of the compile unit that references this range list.
Definition at line 58 of file DWARFDebugRangeList.cpp.
Referenced by llvm::DWARFDebugInfoEntryMinimal::addressRangeContainsAddress().
void DWARFDebugRangeList::dump | ( | raw_ostream & | OS | ) | const |
Definition at line 47 of file DWARFDebugRangeList.cpp.
References llvm::format().
Referenced by llvm::DWARFContext::dump().
bool DWARFDebugRangeList::extract | ( | DataExtractor | data, |
uint32_t * | offset_ptr | ||
) |
Definition at line 22 of file DWARFDebugRangeList.cpp.
References clear(), llvm::DWARFDebugRangeList::RangeListEntry::EndAddress, llvm::DataExtractor::getAddress(), llvm::DataExtractor::getAddressSize(), llvm::DWARFDebugRangeList::RangeListEntry::isEndOfListEntry(), llvm::DataExtractor::isValidOffset(), and llvm::DWARFDebugRangeList::RangeListEntry::StartAddress.
Referenced by llvm::DWARFContext::dump(), and llvm::DWARFUnit::extractRangeList().