|
LLVM
7.0.0
|
#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, 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... | |
Definition at line 24 of file DWARFDebugRangeList.h.
|
inline |
Definition at line 70 of file DWARFDebugRangeList.h.
| void DWARFDebugRangeList::clear | ( | ) |
Definition at line 28 of file DWARFDebugRangeList.cpp.
Referenced by DWARFDebugRangeList(), and extract().
| void DWARFDebugRangeList::dump | ( | raw_ostream & | OS | ) | const |
Definition at line 66 of file DWARFDebugRangeList.cpp.
References llvm::format().
Referenced by llvm::DWARFContext::dump(), and DWARFDebugRangeList().
| Error DWARFDebugRangeList::extract | ( | const DWARFDataExtractor & | data, |
| uint32_t * | offset_ptr | ||
| ) |
Definition at line 34 of file DWARFDebugRangeList.cpp.
References clear(), createError(), llvm::DWARFDebugRangeList::RangeListEntry::EndAddress, llvm::DataExtractor::getAddressSize(), llvm::DWARFDataExtractor::getRelocatedAddress(), llvm::DWARFDebugRangeList::RangeListEntry::isEndOfListEntry(), llvm::DataExtractor::isValidOffset(), llvm::DWARFDebugRangeList::RangeListEntry::SectionIndex, llvm::DWARFDebugRangeList::RangeListEntry::StartAddress, and llvm::Error::success().
Referenced by llvm::DWARFContext::dump(), DWARFDebugRangeList(), and llvm::DWARFUnit::extractRangeList().
| 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 76 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::DWARFUnit::findRnglistFromOffset(), and getEntries().
|
inline |
Definition at line 75 of file DWARFDebugRangeList.h.
References getAbsoluteRanges().
1.8.13