LLVM
15.0.0git
|
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, DIDumpOptions DumpOpts, const MCRegisterInfo *MRI, Optional< uint64_t > Offset) const |
Dump the section data into the given stream. More... | |
Error | 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 665 of file DWARFDebugFrame.h.
DWARFDebugFrame::DWARFDebugFrame | ( | Triple::ArchType | Arch, |
bool | IsEH = false , |
||
uint64_t | EHFrameAddress = 0 |
||
) |
Definition at line 1020 of file DWARFDebugFrame.cpp.
|
default |
|
inline |
DWARF Frame entries accessors.
Definition at line 699 of file DWARFDebugFrame.h.
void DWARFDebugFrame::dump | ( | raw_ostream & | OS, |
DIDumpOptions | DumpOpts, | ||
const MCRegisterInfo * | MRI, | ||
Optional< uint64_t > | Offset | ||
) | const |
Dump the section data into the given stream.
Definition at line 1244 of file DWARFDebugFrame.cpp.
|
inline |
Return whether the section has any entries.
Definition at line 696 of file DWARFDebugFrame.h.
|
inline |
Definition at line 700 of file DWARFDebugFrame.h.
|
inline |
Definition at line 701 of file DWARFDebugFrame.h.
|
inline |
Definition at line 705 of file DWARFDebugFrame.h.
Error 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 1036 of file DWARFDebugFrame.cpp.
References llvm::Data, llvm::dwarf::DWARF64, move, and llvm::None.