LLVM API Documentation
#include <DWARFDebugArangeSet.h>
Classes | |
struct | Descriptor |
struct | Header |
Public Member Functions | |
DWARFDebugArangeSet () | |
void | clear () |
bool | extract (DataExtractor data, uint32_t *offset_ptr) |
void | dump (raw_ostream &OS) const |
uint32_t | getCompileUnitDIEOffset () const |
desc_iterator_range | descriptors () const |
Definition at line 21 of file DWARFDebugArangeSet.h.
llvm::DWARFDebugArangeSet::DWARFDebugArangeSet | ( | ) | [inline] |
Definition at line 55 of file DWARFDebugArangeSet.h.
References clear().
void DWARFDebugArangeSet::clear | ( | ) |
Definition at line 17 of file DWARFDebugArangeSet.cpp.
References llvm::LibFunc::memset.
Referenced by DWARFDebugArangeSet(), and extract().
desc_iterator_range llvm::DWARFDebugArangeSet::descriptors | ( | ) | const [inline] |
Definition at line 62 of file DWARFDebugArangeSet.h.
void DWARFDebugArangeSet::dump | ( | raw_ostream & | OS | ) | const |
Definition at line 92 of file DWARFDebugArangeSet.cpp.
References llvm::DWARFDebugArangeSet::Header::AddrSize, llvm::DWARFDebugArangeSet::Header::CuOffset, llvm::format(), llvm::DWARFDebugArangeSet::Header::Length, llvm::DWARFDebugArangeSet::Header::SegSize, and llvm::DWARFDebugArangeSet::Header::Version.
Referenced by llvm::DWARFContext::dump().
bool DWARFDebugArangeSet::extract | ( | DataExtractor | data, |
uint32_t * | offset_ptr | ||
) |
Definition at line 24 of file DWARFDebugArangeSet.cpp.
References llvm::DWARFDebugArangeSet::Descriptor::Address, llvm::DWARFDebugArangeSet::Header::AddrSize, clear(), llvm::DWARFDebugArangeSet::Header::CuOffset, llvm::DataExtractor::getU16(), llvm::DataExtractor::getU32(), llvm::DataExtractor::getU8(), llvm::DataExtractor::getUnsigned(), llvm::DataExtractor::isValidOffset(), llvm::DataExtractor::isValidOffsetForDataOfSize(), llvm::DWARFDebugArangeSet::Header::Length, llvm::DWARFDebugArangeSet::Descriptor::Length, llvm::DWARFDebugArangeSet::Header::SegSize, and llvm::DWARFDebugArangeSet::Header::Version.
uint32_t llvm::DWARFDebugArangeSet::getCompileUnitDIEOffset | ( | ) | const [inline] |
Definition at line 60 of file DWARFDebugArangeSet.h.
References llvm::DWARFDebugArangeSet::Header::CuOffset.