LLVM: llvm::DWARFDebugFrame Class Reference (original) (raw)

A parsed .debug_frame or .eh_frame section. More...

#include "[llvm/DebugInfo/DWARF/DWARFDebugFrame.h](DWARFDebugFrame%5F8h%5Fsource.html)"

Public Member Functions
LLVM_ABI DWARFDebugFrame (Triple::ArchType Arch, bool IsEH=false, uint64_t EHFrameAddress=0)
LLVM_ABI ~DWARFDebugFrame ()
LLVM_ABI void dump (raw_ostream &OS, DIDumpOptions DumpOpts, std::optional< uint64_t > Offset) const
Dump the section data into the given stream.
LLVM_ABI Error parse (DWARFDataExtractor Data)
Parse the section from raw data.
bool empty () const
Return whether the section has any entries.
iterator begin () const
DWARF Frame entries accessors.
iterator end () const
iterator_range< iterator > entries () const
uint64_t getEHFrameAddress () const

A parsed .debug_frame or .eh_frame section.

Definition at line 193 of file DWARFDebugFrame.h.

~DWARFDebugFrame()

DWARFDebugFrame::~DWARFDebugFrame ( ) default

begin()

iterator llvm::DWARFDebugFrame::begin ( ) const inline

dump()

empty()

bool llvm::DWARFDebugFrame::empty ( ) const inline

end()

iterator llvm::DWARFDebugFrame::end ( ) const inline

entries()

getEHFrameAddress()

uint64_t llvm::DWARFDebugFrame::getEHFrameAddress ( ) const inline

parse()

Parse the section from raw data.

Data is assumed to contain the whole frame section contents to be parsed.

Definition at line 194 of file DWARFDebugFrame.cpp.

References llvm::createStringError(), llvm::Data, llvm::dwarf::DW_EH_PE_absptr, llvm::dwarf::DW_EH_PE_omit, llvm::dwarf::DWARF64, llvm::StringRef::empty(), llvm::Format, llvm::dwarf::CIE::getAugmentationString(), getCIEId(), llvm::dwarf::CIE::getFDEPointerEncoding(), llvm::dwarf::CIE::getLSDAPointerEncoding(), llvm::invalid_argument, llvm::Length, llvm::Offset, llvm::StringRef::size(), llvm::Error::success(), and llvm::Version.


The documentation for this class was generated from the following files: