LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::dwarf::FDE Class Reference

DWARF Frame Description Entry (FDE) More...

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

Inheritance diagram for llvm::dwarf::FDE:
Inheritance graph
[legend]

Public Member Functions

 FDE (bool IsDWARF64, uint64_t Offset, uint64_t Length, uint64_t CIEPointer, uint64_t InitialLocation, uint64_t AddressRange, CIE *Cie, std::optional< uint64_t > LSDAAddress, Triple::ArchType Arch)
 
 ~FDE () override=default
 
const CIEgetLinkedCIE () const
 
uint64_t getCIEPointer () const
 
uint64_t getInitialLocation () const
 
uint64_t getAddressRange () const
 
std::optional< uint64_tgetLSDAAddress () const
 
void dump (raw_ostream &OS, DIDumpOptions DumpOpts) const override
 Dump the instructions in this CFI fragment.
 
- Public Member Functions inherited from llvm::dwarf::FrameEntry
 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 CFIProgramcfis () const
 
CFIProgramcfis ()
 
virtual void dump (raw_ostream &OS, DIDumpOptions DumpOpts) const =0
 Dump the instructions in this CFI fragment.
 

Static Public Member Functions

static bool classof (const FrameEntry *FE)
 

Additional Inherited Members

- Public Types inherited from llvm::dwarf::FrameEntry
enum  FrameKind { FK_CIE , FK_FDE }
 
- Protected Attributes inherited from llvm::dwarf::FrameEntry
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
 

Detailed Description

DWARF Frame Description Entry (FDE)

Definition at line 629 of file DWARFDebugFrame.h.

Constructor & Destructor Documentation

◆ FDE()

llvm::dwarf::FDE::FDE ( bool  IsDWARF64,
uint64_t  Offset,
uint64_t  Length,
uint64_t  CIEPointer,
uint64_t  InitialLocation,
uint64_t  AddressRange,
CIE Cie,
std::optional< uint64_t LSDAAddress,
Triple::ArchType  Arch 
)
inline

Definition at line 631 of file DWARFDebugFrame.h.

◆ ~FDE()

llvm::dwarf::FDE::~FDE ( )
overridedefault

Member Function Documentation

◆ classof()

static bool llvm::dwarf::FDE::classof ( const FrameEntry FE)
inlinestatic

◆ dump()

void FDE::dump ( raw_ostream OS,
DIDumpOptions  DumpOpts 
) const
overridevirtual

◆ getAddressRange()

uint64_t llvm::dwarf::FDE::getAddressRange ( ) const
inline

Definition at line 645 of file DWARFDebugFrame.h.

Referenced by llvm::dwarf::UnwindTable::create().

◆ getCIEPointer()

uint64_t llvm::dwarf::FDE::getCIEPointer ( ) const
inline

Definition at line 643 of file DWARFDebugFrame.h.

◆ getInitialLocation()

uint64_t llvm::dwarf::FDE::getInitialLocation ( ) const
inline

Definition at line 644 of file DWARFDebugFrame.h.

Referenced by llvm::dwarf::UnwindTable::create().

◆ getLinkedCIE()

const CIE * llvm::dwarf::FDE::getLinkedCIE ( ) const
inline

Definition at line 642 of file DWARFDebugFrame.h.

Referenced by llvm::dwarf::UnwindTable::create().

◆ getLSDAAddress()

std::optional< uint64_t > llvm::dwarf::FDE::getLSDAAddress ( ) const
inline

Definition at line 646 of file DWARFDebugFrame.h.


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