LLVM  7.0.0svn
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 (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, Optional< uint64_t > Personality, Optional< uint32_t > PersonalityEnc)
StringRef getAugmentationString () const
uint64_t getCodeAlignmentFactor () const
int64_t getDataAlignmentFactor () const
uint8_t getVersion () const
uint64_t getReturnAddressRegister () const
Optional< uint64_t > getPersonalityAddress () const
Optional< uint32_tgetPersonalityEncoding () const
uint32_t getFDEPointerEncoding () const
uint32_t getLSDAPointerEncoding () 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)
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 Common Information Entry (CIE)

Definition at line 161 of file DWARFDebugFrame.h.

Constructor & Destructor Documentation

◆ CIE()

llvm::dwarf::CIE::CIE ( 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,
Optional< uint64_t >  Personality,
Optional< uint32_t PersonalityEnc 

Definition at line 165 of file DWARFDebugFrame.h.

Member Function Documentation

◆ classof()

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

Definition at line 184 of file DWARFDebugFrame.h.

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

◆ dump()

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

Dump the instructions in this CFI fragment.

Implements llvm::dwarf::FrameEntry.

Definition at line 288 of file DWARFDebugFrame.cpp.

References llvm::dwarf::DW_CIE_ID, llvm::format(), llvm::hexdigit(), and llvm::IndexedInstrProf::Version.

◆ getAugmentationString()

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

Definition at line 186 of file DWARFDebugFrame.h.

Referenced by llvm::DWARFDebugFrame::parse().

◆ getCodeAlignmentFactor()

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

Definition at line 187 of file DWARFDebugFrame.h.

◆ getDataAlignmentFactor()

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

Definition at line 188 of file DWARFDebugFrame.h.

◆ getFDEPointerEncoding()

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

Definition at line 194 of file DWARFDebugFrame.h.

Referenced by llvm::DWARFDebugFrame::parse().

◆ getLSDAPointerEncoding()

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

◆ getPersonalityAddress()

Optional<uint64_t> llvm::dwarf::CIE::getPersonalityAddress ( ) const

Definition at line 191 of file DWARFDebugFrame.h.

◆ getPersonalityEncoding()

Optional<uint32_t> llvm::dwarf::CIE::getPersonalityEncoding ( ) const

Definition at line 192 of file DWARFDebugFrame.h.

◆ getReturnAddressRegister()

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

Definition at line 190 of file DWARFDebugFrame.h.

◆ getVersion()

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

Definition at line 189 of file DWARFDebugFrame.h.

References llvm::IndexedInstrProf::Version.

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