LLVM  8.0.1
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]
Collaboration diagram for llvm::dwarf::FDE:
Collaboration graph
[legend]

Public Member Functions

 FDE (uint64_t Offset, uint64_t Length, int64_t LinkedCIEOffset, uint64_t InitialLocation, uint64_t AddressRange, CIE *Cie, Optional< uint64_t > LSDAAddress, Triple::ArchType Arch)
 
 ~FDE () override=default
 
const CIEgetLinkedCIE () const
 
uint64_t getInitialLocation () const
 
uint64_t getAddressRange () const
 
Optional< uint64_t > getLSDAAddress () const
 
void dump (raw_ostream &OS, const MCRegisterInfo *MRI, bool IsEH) const override
 Dump the instructions in this CFI fragment. More...
 
- Public Member Functions inherited from llvm::dwarf::FrameEntry
 FrameEntry (FrameKind K, uint64_t Offset, uint64_t Length, uint64_t CodeAlign, int64_t DataAlign, Triple::ArchType Arch)
 
virtual ~FrameEntry ()
 
FrameKind getKind () const
 
uint64_t getOffset () const
 
uint64_t getLength () const
 
const CFIProgramcfis () const
 
CFIProgramcfis ()
 

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 uint64_t Offset
 Offset of this entry in the section. More...
 
const uint64_t Length
 Entry length as specified in DWARF. More...
 
CFIProgram CFIs
 

Detailed Description

DWARF Frame Description Entry (FDE)

Definition at line 225 of file DWARFDebugFrame.h.

Constructor & Destructor Documentation

◆ FDE()

llvm::dwarf::FDE::FDE ( uint64_t  Offset,
uint64_t  Length,
int64_t  LinkedCIEOffset,
uint64_t  InitialLocation,
uint64_t  AddressRange,
CIE Cie,
Optional< uint64_t >  LSDAAddress,
Triple::ArchType  Arch 
)
inline

Definition at line 230 of file DWARFDebugFrame.h.

◆ ~FDE()

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

Member Function Documentation

◆ classof()

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

Definition at line 250 of file DWARFDebugFrame.h.

References llvm::dwarf::FrameEntry::getKind().

◆ dump()

void FDE::dump ( raw_ostream OS,
const MCRegisterInfo MRI,
bool  IsEH 
) const
overridevirtual

Dump the instructions in this CFI fragment.

Implements llvm::dwarf::FrameEntry.

Definition at line 316 of file DWARFDebugFrame.cpp.

References llvm::format().

◆ getAddressRange()

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

Definition at line 244 of file DWARFDebugFrame.h.

◆ getInitialLocation()

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

Definition at line 243 of file DWARFDebugFrame.h.

◆ getLinkedCIE()

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

Definition at line 242 of file DWARFDebugFrame.h.

◆ getLSDAAddress()

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

Definition at line 245 of file DWARFDebugFrame.h.

References llvm::dwarf::CFIProgram::dump(), and MRI.


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