LLVM
8.0.1
|
A parsed .debug_frame or .eh_frame section. More...
#include "llvm/DebugInfo/DWARF/DWARFDebugFrame.h"
Public Member Functions | |
DWARFDebugFrame (Triple::ArchType Arch, bool IsEH=false, uint64_t EHFrameAddress=0) | |
~DWARFDebugFrame () | |
void | dump (raw_ostream &OS, const MCRegisterInfo *MRI, Optional< uint64_t > Offset) const |
Dump the section data into the given stream. More... | |
void | parse (DWARFDataExtractor Data) |
Parse the section from raw data. More... | |
bool | empty () const |
Return whether the section has any entries. More... | |
iterator | begin () const |
DWARF Frame entries accessors. More... | |
iterator | end () const |
iterator_range< iterator > | entries () const |
uint64_t | getEHFrameAddress () const |
A parsed .debug_frame or .eh_frame section.
Definition at line 264 of file DWARFDebugFrame.h.
DWARFDebugFrame::DWARFDebugFrame | ( | Triple::ArchType | Arch, |
bool | IsEH = false , |
||
uint64_t | EHFrameAddress = 0 |
||
) |
Definition at line 328 of file DWARFDebugFrame.cpp.
References ~DWARFDebugFrame().
|
default |
Referenced by DWARFDebugFrame().
|
inline |
DWARF Frame entries accessors.
Definition at line 298 of file DWARFDebugFrame.h.
void DWARFDebugFrame::dump | ( | raw_ostream & | OS, |
const MCRegisterInfo * | MRI, | ||
Optional< uint64_t > | Offset | ||
) | const |
Dump the section data into the given stream.
Definition at line 545 of file DWARFDebugFrame.cpp.
Referenced by llvm::DWARFContext::dump().
|
inline |
Return whether the section has any entries.
Definition at line 295 of file DWARFDebugFrame.h.
|
inline |
Definition at line 299 of file DWARFDebugFrame.h.
|
inline |
Definition at line 300 of file DWARFDebugFrame.h.
|
inline |
Definition at line 304 of file DWARFDebugFrame.h.
void DWARFDebugFrame::parse | ( | DWARFDataExtractor | Data | ) |
Parse the section from raw data.
Data
is assumed to contain the whole frame section contents to be parsed.
Definition at line 357 of file DWARFDebugFrame.cpp.
References llvm::dwarf::DW64_CIE_ID, llvm::dwarf::DW_CIE_ID, llvm::dwarf::DW_EH_PE_absptr, llvm::dwarf::DW_EH_PE_omit, E, llvm::StringRef::empty(), llvm::DataExtractor::getAddress(), llvm::DataExtractor::getAddressSize(), llvm::dwarf::CIE::getAugmentationString(), llvm::DataExtractor::getCStr(), llvm::DataExtractor::getData(), llvm::DWARFDataExtractor::getEncodedPointer(), llvm::dwarf::CIE::getFDEPointerEncoding(), llvm::dwarf::CIE::getLSDAPointerEncoding(), llvm::DataExtractor::getSLEB128(), llvm::DataExtractor::getU32(), llvm::DataExtractor::getU64(), llvm::DataExtractor::getU8(), llvm::DataExtractor::getULEB128(), llvm::DataExtractor::getUnsigned(), llvm::Optional< T >::hasValue(), llvm::DataExtractor::isValidOffset(), llvm::lower_bound(), llvm::report_fatal_error(), ReportError(), llvm::DataExtractor::setAddressSize(), llvm::StringRef::size(), llvm::StringRef::slice(), llvm::toString(), and llvm::IndexedInstrProf::Version.