LLVM 20.0.0git
|
#include "llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h"
Classes | |
struct | Descriptor |
struct | Header |
Public Member Functions | |
DWARFDebugArangeSet () | |
void | clear () |
Error | extract (DWARFDataExtractor data, uint64_t *offset_ptr, function_ref< void(Error)> WarningHandler) |
void | dump (raw_ostream &OS) const |
uint64_t | getCompileUnitDIEOffset () const |
const Header & | getHeader () const |
desc_iterator_range | descriptors () const |
Definition at line 23 of file DWARFDebugArangeSet.h.
|
inline |
Definition at line 61 of file DWARFDebugArangeSet.h.
References clear().
void DWARFDebugArangeSet::clear | ( | ) |
Definition at line 32 of file DWARFDebugArangeSet.cpp.
Referenced by DWARFDebugArangeSet().
|
inline |
Definition at line 72 of file DWARFDebugArangeSet.h.
void DWARFDebugArangeSet::dump | ( | raw_ostream & | OS | ) | const |
Definition at line 163 of file DWARFDebugArangeSet.cpp.
References llvm::DWARFDebugArangeSet::Header::AddrSize, llvm::DWARFDebugArangeSet::Header::CuOffset, llvm::DWARFDebugArangeSet::Header::Format, llvm::format(), llvm::dwarf::FormatString(), llvm::dwarf::getDwarfOffsetByteSize(), llvm::DWARFDebugArangeSet::Header::Length, OS, llvm::DWARFDebugArangeSet::Header::SegSize, and llvm::DWARFDebugArangeSet::Header::Version.
Referenced by llvm::DWARFContext::dump().
Error DWARFDebugArangeSet::extract | ( | DWARFDataExtractor | data, |
uint64_t * | offset_ptr, | ||
function_ref< void(Error)> | WarningHandler | ||
) |
Definition at line 38 of file DWARFDebugArangeSet.cpp.
References llvm::DWARFDebugArangeSet::Descriptor::Address, llvm::DWARFDebugArangeSet::Header::AddrSize, assert(), llvm::c_str(), llvm::DWARFContext::checkAddressSizeSupported(), llvm::createStringError(), llvm::DWARFDebugArangeSet::Header::CuOffset, llvm::DWARFDebugArangeSet::Header::Format, llvm::dwarf::getDwarfOffsetByteSize(), llvm::DWARFDataExtractor::getInitialLength(), llvm::DataExtractor::getU16(), llvm::DataExtractor::getU8(), llvm::dwarf::getUnitLengthFieldByteSize(), llvm::DataExtractor::getUnsigned(), llvm::invalid_argument, llvm::DataExtractor::isValidOffset(), llvm::DataExtractor::isValidOffsetForDataOfSize(), llvm::DWARFDebugArangeSet::Header::Length, llvm::DWARFDebugArangeSet::Descriptor::Length, llvm::not_supported, llvm::DWARFDebugArangeSet::Header::SegSize, llvm::Error::success(), llvm::dwarf::toString(), and llvm::DWARFDebugArangeSet::Header::Version.
Referenced by llvm::DWARFContext::dump().
|
inline |
Definition at line 68 of file DWARFDebugArangeSet.h.
Definition at line 70 of file DWARFDebugArangeSet.h.