|
LLVM 22.0.0git
|
An entry in either debug_frame or eh_frame. More...
#include "llvm/DebugInfo/DWARF/DWARFDebugFrame.h"
Public Types | |
| enum | FrameKind { FK_CIE , FK_FDE } |
Public Member Functions | |
| FrameEntry (FrameKind K, bool IsDWARF64, uint64_t Offset, uint64_t Length, uint64_t CodeAlign, int64_t DataAlign, Triple::ArchType Arch) | |
| virtual | ~FrameEntry ()=default |
| FrameKind | getKind () const |
| uint64_t | getOffset () const |
| uint64_t | getLength () const |
| const CFIProgram & | cfis () const |
| CFIProgram & | cfis () |
| virtual void | dump (raw_ostream &OS, DIDumpOptions DumpOpts) const =0 |
| Dump the instructions in this CFI fragment. | |
Protected Attributes | |
| const FrameKind | Kind |
| const bool | IsDWARF64 |
| const uint64_t | Offset |
| Offset of this entry in the section. | |
| const uint64_t | Length |
| Entry length as specified in DWARF. | |
| CFIProgram | CFIs |
An entry in either debug_frame or eh_frame.
This entry can be a CIE or an FDE.
Definition at line 58 of file DWARFDebugFrame.h.
| Enumerator | |
|---|---|
| FK_CIE | |
| FK_FDE | |
Definition at line 60 of file DWARFDebugFrame.h.
|
inline |
Definition at line 62 of file DWARFDebugFrame.h.
References CFIs, IsDWARF64, Kind, Length, and Offset.
Referenced by llvm::dwarf::CIE::CIE(), llvm::dwarf::CIE::classof(), llvm::dwarf::FDE::classof(), and llvm::dwarf::FDE::FDE().
|
virtualdefault |
|
inline |
Definition at line 73 of file DWARFDebugFrame.h.
References CFIs.
|
inline |
Definition at line 72 of file DWARFDebugFrame.h.
References CFIs.
Referenced by llvm::dwarf::createUnwindTable(), and llvm::dwarf::createUnwindTable().
|
pure virtual |
Dump the instructions in this CFI fragment.
Implemented in llvm::dwarf::CIE, and llvm::dwarf::FDE.
|
inline |
Definition at line 69 of file DWARFDebugFrame.h.
References Kind.
Referenced by llvm::dwarf::CIE::classof(), and llvm::dwarf::FDE::classof().
|
inline |
Definition at line 71 of file DWARFDebugFrame.h.
References Length.
|
inline |
Definition at line 70 of file DWARFDebugFrame.h.
References Offset.
Referenced by llvm::dwarf::createUnwindTable().
|
protected |
Definition at line 89 of file DWARFDebugFrame.h.
Referenced by cfis(), cfis(), llvm::dwarf::CIE::dump(), llvm::dwarf::FDE::dump(), and FrameEntry().
Definition at line 81 of file DWARFDebugFrame.h.
Referenced by llvm::dwarf::CIE::CIE(), llvm::dwarf::CIE::dump(), llvm::dwarf::FDE::dump(), llvm::dwarf::FDE::FDE(), and FrameEntry().
Definition at line 79 of file DWARFDebugFrame.h.
Referenced by FrameEntry(), and getKind().
Entry length as specified in DWARF.
Definition at line 87 of file DWARFDebugFrame.h.
Referenced by llvm::dwarf::CIE::CIE(), llvm::dwarf::CIE::dump(), llvm::dwarf::FDE::dump(), llvm::dwarf::FDE::FDE(), FrameEntry(), and getLength().
Offset of this entry in the section.
Definition at line 84 of file DWARFDebugFrame.h.
Referenced by llvm::dwarf::CIE::CIE(), llvm::dwarf::CIE::dump(), llvm::dwarf::FDE::dump(), llvm::dwarf::FDE::FDE(), FrameEntry(), and getOffset().