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

DWARF Common Information Entry (CIE) More...

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

Inheritance diagram for llvm::dwarf::CIE:
Inheritance graph
Collaboration diagram for llvm::dwarf::CIE:
Collaboration graph

Public Member Functions

 CIE (bool IsDWARF64, uint64_t Offset, uint64_t Length, uint8_t Version, SmallString< 8 > Augmentation, uint8_t AddressSize, uint8_t SegmentDescriptorSize, uint64_t CodeAlignmentFactor, int64_t DataAlignmentFactor, uint64_t ReturnAddressRegister, SmallString< 8 > AugmentationData, uint32_t FDEPointerEncoding, uint32_t LSDAPointerEncoding, std::optional< uint64_t > Personality, std::optional< uint32_t > PersonalityEnc, Triple::ArchType Arch)
StringRef getAugmentationString () const
uint64_t getCodeAlignmentFactor () const
int64_t getDataAlignmentFactor () const
uint8_t getVersion () const
uint64_t getReturnAddressRegister () const
std::optional< uint64_tgetPersonalityAddress () const
std::optional< uint32_tgetPersonalityEncoding () const
StringRef getAugmentationData () const
uint32_t getFDEPointerEncoding () const
uint32_t getLSDAPointerEncoding () const
void dump (raw_ostream &OS, DIDumpOptions DumpOpts) const override
 Dump the instructions in this CFI fragment. More...
- 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 ()

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. More...
const uint64_t Length
 Entry length as specified in DWARF. More...
CFIProgram CFIs

Detailed Description

DWARF Common Information Entry (CIE)

Definition at line 567 of file DWARFDebugFrame.h.

Constructor & Destructor Documentation

◆ CIE()

llvm::dwarf::CIE::CIE ( bool  IsDWARF64,
uint64_t  Offset,
uint64_t  Length,
uint8_t  Version,
SmallString< 8 >  Augmentation,
uint8_t  AddressSize,
uint8_t  SegmentDescriptorSize,
uint64_t  CodeAlignmentFactor,
int64_t  DataAlignmentFactor,
uint64_t  ReturnAddressRegister,
SmallString< 8 >  AugmentationData,
uint32_t  FDEPointerEncoding,
uint32_t  LSDAPointerEncoding,
std::optional< uint64_t Personality,
std::optional< uint32_t PersonalityEnc,
Triple::ArchType  Arch 

Definition at line 571 of file DWARFDebugFrame.h.

Member Function Documentation

◆ classof()

static bool llvm::dwarf::CIE::classof ( const FrameEntry FE)

◆ dump()

void CIE::dump ( raw_ostream OS,
DIDumpOptions  DumpOpts 
) const

◆ getAugmentationData()

StringRef llvm::dwarf::CIE::getAugmentationData ( ) const

Definition at line 602 of file DWARFDebugFrame.h.

◆ getAugmentationString()

StringRef llvm::dwarf::CIE::getAugmentationString ( ) const

Definition at line 592 of file DWARFDebugFrame.h.

◆ getCodeAlignmentFactor()

uint64_t llvm::dwarf::CIE::getCodeAlignmentFactor ( ) const

Definition at line 593 of file DWARFDebugFrame.h.

◆ getDataAlignmentFactor()

int64_t llvm::dwarf::CIE::getDataAlignmentFactor ( ) const

Definition at line 594 of file DWARFDebugFrame.h.

◆ getFDEPointerEncoding()

uint32_t llvm::dwarf::CIE::getFDEPointerEncoding ( ) const

Definition at line 604 of file DWARFDebugFrame.h.

◆ getLSDAPointerEncoding()

uint32_t llvm::dwarf::CIE::getLSDAPointerEncoding ( ) const

Definition at line 606 of file DWARFDebugFrame.h.

◆ getPersonalityAddress()

std::optional<uint64_t> llvm::dwarf::CIE::getPersonalityAddress ( ) const

Definition at line 597 of file DWARFDebugFrame.h.

◆ getPersonalityEncoding()

std::optional<uint32_t> llvm::dwarf::CIE::getPersonalityEncoding ( ) const

Definition at line 598 of file DWARFDebugFrame.h.

◆ getReturnAddressRegister()

uint64_t llvm::dwarf::CIE::getReturnAddressRegister ( ) const

Definition at line 596 of file DWARFDebugFrame.h.

◆ getVersion()

uint8_t llvm::dwarf::CIE::getVersion ( ) const

Definition at line 595 of file DWARFDebugFrame.h.

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