LLVM 22.0.0git
llvm::DWARFDebugFrame Class Reference

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

#include "llvm/DebugInfo/DWARF/DWARFDebugFrame.h"

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< iteratorentries () const
uint64_t getEHFrameAddress () const

Detailed Description

A parsed .debug_frame or .eh_frame section.

Definition at line 193 of file DWARFDebugFrame.h.

Constructor & Destructor Documentation

◆ DWARFDebugFrame()

DWARFDebugFrame::DWARFDebugFrame ( Triple::ArchType Arch,
bool IsEH = false,
uint64_t EHFrameAddress = 0 )

Definition at line 178 of file DWARFDebugFrame.cpp.

◆ ~DWARFDebugFrame()

DWARFDebugFrame::~DWARFDebugFrame ( )
default

References llvm::Data, LLVM_ABI, and llvm::Offset.

Member Function Documentation

◆ begin()

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

DWARF Frame entries accessors.

Definition at line 227 of file DWARFDebugFrame.h.

◆ dump()

void DWARFDebugFrame::dump ( raw_ostream & OS,
DIDumpOptions DumpOpts,
std::optional< uint64_t > Offset ) const

Dump the section data into the given stream.

Definition at line 402 of file DWARFDebugFrame.cpp.

References llvm::DIDumpOptions::IsEH, and llvm::Offset.

◆ empty()

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

Return whether the section has any entries.

Definition at line 224 of file DWARFDebugFrame.h.

◆ end()

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

Definition at line 228 of file DWARFDebugFrame.h.

◆ entries()

iterator_range< iterator > llvm::DWARFDebugFrame::entries ( ) const
inline

Definition at line 229 of file DWARFDebugFrame.h.

◆ getEHFrameAddress()

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

Definition at line 233 of file DWARFDebugFrame.h.

◆ parse()


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