class DWARFDebugFrame
Declaration
class DWARFDebugFrame { /* full declaration omitted */ };
Description
A parsed .debug_frame or .eh_frame section
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h:665
Member Variables
- private const Triple::ArchType Arch
- private const bool IsEH
- private const uint64_t EHFrameAddress
- private std::vector<std::unique_ptr<dwarf::FrameEntry>> Entries
Method Overview
- public DWARFDebugFrame(Triple::ArchType Arch, bool IsEH = false, uint64_t EHFrameAddress = 0)
- public llvm::DWARFDebugFrame::iterator begin() const
- public void dump(llvm::raw_ostream & OS, llvm::DIDumpOptions DumpOpts, const llvm::MCRegisterInfo * MRI, Optional<uint64_t> Offset) const
- public bool empty() const
- public llvm::DWARFDebugFrame::iterator end() const
- public iterator_range<llvm::DWARFDebugFrame::iterator> entries() const
- public uint64_t getEHFrameAddress() const
- private dwarf::FrameEntry * getEntryAtOffset(uint64_t Offset) const
- public llvm::Error parse(llvm::DWARFDataExtractor Data)
- public ~DWARFDebugFrame()
Methods
¶DWARFDebugFrame(Triple::ArchType Arch,
bool IsEH = false,
uint64_t EHFrameAddress = 0)
DWARFDebugFrame(Triple::ArchType Arch,
bool IsEH = false,
uint64_t EHFrameAddress = 0)
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h:683
Parameters
- Triple::ArchType Arch
- bool IsEH = false
- uint64_t EHFrameAddress = 0
¶llvm::DWARFDebugFrame::iterator begin() const
llvm::DWARFDebugFrame::iterator begin() const
Description
DWARF Frame entries accessors
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h:699
¶void dump(llvm::raw_ostream& OS,
llvm::DIDumpOptions DumpOpts,
const llvm::MCRegisterInfo* MRI,
Optional<uint64_t> Offset) const
void dump(llvm::raw_ostream& OS,
llvm::DIDumpOptions DumpOpts,
const llvm::MCRegisterInfo* MRI,
Optional<uint64_t> Offset) const
Description
Dump the section data into the given stream.
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h:688
Parameters
- llvm::raw_ostream& OS
- llvm::DIDumpOptions DumpOpts
- const llvm::MCRegisterInfo* MRI
- Optional<uint64_t> Offset
¶bool empty() const
bool empty() const
Description
Return whether the section has any entries.
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h:696
¶llvm::DWARFDebugFrame::iterator end() const
llvm::DWARFDebugFrame::iterator end() const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h:700
¶iterator_range<llvm::DWARFDebugFrame::iterator>
entries() const
iterator_range<llvm::DWARFDebugFrame::iterator>
entries() const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h:701
¶uint64_t getEHFrameAddress() const
uint64_t getEHFrameAddress() const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h:705
¶dwarf::FrameEntry* getEntryAtOffset(
uint64_t Offset) const
dwarf::FrameEntry* getEntryAtOffset(
uint64_t Offset) const
Description
Return the entry at the given offset or nullptr.
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h:676
Parameters
- uint64_t Offset
¶llvm::Error parse(llvm::DWARFDataExtractor Data)
llvm::Error parse(llvm::DWARFDataExtractor Data)
Description
Parse the section from raw data. \p Data is assumed to contain the whole frame section contents to be parsed.
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h:693
Parameters
¶~DWARFDebugFrame()
~DWARFDebugFrame()
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h:685