LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::DWARFDebugFrame Class Reference

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

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

Public Member Functions

 DWARFDebugFrame (bool IsEH)
 
 ~DWARFDebugFrame ()
 
void dump (raw_ostream &OS, Optional< uint64_t > Offset) const
 Dump the section data into the given stream. More...
 
void parse (DataExtractor Data)
 Parse the section from raw data. More...
 
bool empty () const
 Return whether the section has any entries. More...
 
FrameEntrygetEntryAtOffset (uint64_t Offset) const
 Return the entry at the given offset or nullptr. More...
 

Detailed Description

A parsed .debug_frame or .eh_frame section.

Definition at line 24 of file DWARFDebugFrame.h.

Constructor & Destructor Documentation

◆ DWARFDebugFrame()

DWARFDebugFrame::DWARFDebugFrame ( bool  IsEH)

Definition at line 481 of file DWARFDebugFrame.cpp.

References ~DWARFDebugFrame().

◆ ~DWARFDebugFrame()

DWARFDebugFrame::~DWARFDebugFrame ( )
default

Referenced by DWARFDebugFrame().

Member Function Documentation

◆ dump()

void DWARFDebugFrame::dump ( raw_ostream OS,
Optional< uint64_t >  Offset 
) const

Dump the section data into the given stream.

Definition at line 712 of file DWARFDebugFrame.cpp.

References getEntryAtOffset().

Referenced by llvm::DWARFContext::dump().

◆ empty()

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

Return whether the section has any entries.

Definition at line 40 of file DWARFDebugFrame.h.

References getEntryAtOffset().

◆ getEntryAtOffset()

FrameEntry * DWARFDebugFrame::getEntryAtOffset ( uint64_t  Offset) const

Return the entry at the given offset or nullptr.

Definition at line 702 of file DWARFDebugFrame.cpp.

References E, and llvm::lower_bound().

Referenced by dump(), and empty().

◆ parse()

void DWARFDebugFrame::parse ( DataExtractor  Data)

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