LLVM: llvm::object::XCOFFTracebackTable Class Reference (original) (raw)

This class provides methods to extract traceback table data from a buffer. More...

#include "[llvm/Object/XCOFFObjectFile.h](XCOFFObjectFile%5F8h%5Fsource.html)"

Public Member Functions
LLVM_ABI uint8_t getVersion () const
LLVM_ABI uint8_t getLanguageID () const
LLVM_ABI bool isGlobalLinkage () const
LLVM_ABI bool isOutOfLineEpilogOrPrologue () const
LLVM_ABI bool hasTraceBackTableOffset () const
LLVM_ABI bool isInternalProcedure () const
LLVM_ABI bool hasControlledStorage () const
LLVM_ABI bool isTOCless () const
LLVM_ABI bool isFloatingPointPresent () const
LLVM_ABI bool isFloatingPointOperationLogOrAbortEnabled () const
LLVM_ABI bool isInterruptHandler () const
LLVM_ABI bool isFuncNamePresent () const
LLVM_ABI bool isAllocaUsed () const
LLVM_ABI uint8_t getOnConditionDirective () const
LLVM_ABI bool isCRSaved () const
LLVM_ABI bool isLRSaved () const
LLVM_ABI bool isBackChainStored () const
LLVM_ABI bool isFixup () const
LLVM_ABI uint8_t getNumOfFPRsSaved () const
LLVM_ABI bool hasVectorInfo () const
LLVM_ABI bool hasExtensionTable () const
LLVM_ABI uint8_t getNumOfGPRsSaved () const
LLVM_ABI uint8_t getNumberOfFixedParms () const
LLVM_ABI uint8_t getNumberOfFPParms () const
LLVM_ABI bool hasParmsOnStack () const
const std::optional< SmallString< 32 > > & getParmsType () const
const std::optional< uint32_t > & getTraceBackTableOffset () const
const std::optional< uint32_t > & getHandlerMask () const
const std::optional< uint32_t > & getNumOfCtlAnchors ()
const std::optional< SmallVector< uint32_t, 8 > > & getControlledStorageInfoDisp ()
const std::optional< StringRef > & getFunctionName () const
const std::optional< uint8_t > & getAllocaRegister () const
const std::optional< TBVectorExt > & getVectorExt () const
const std::optional< uint8_t > & getExtensionTable () const
const std::optional< uint64_t > & getEhInfoDisp () const

This class provides methods to extract traceback table data from a buffer.

The various accessors may reference the buffer provided via the constructor.

Definition at line 908 of file XCOFFObjectFile.h.

create()

Parse an XCOFF Traceback Table from Ptr with Size bytes.

Returns an XCOFFTracebackTable upon successful parsing, otherwise an Error is returned.

Parameters

[in] Ptr A pointer that points just past the initial 4 bytes of zeros at the beginning of an XCOFF Traceback Table.
[in,out] Size A pointer that points to the length of the XCOFF Traceback Table. If the XCOFF Traceback Table is not parsed successfully or there are extra bytes that are not recognized, Size will be updated to be the size up to the end of the last successfully parsed field of the table.

Definition at line 1454 of file XCOFFObjectFile.cpp.

References Size, and llvm::Error::success().

getAllocaRegister()

const std::optional< uint8_t > & llvm::object::XCOFFTracebackTable::getAllocaRegister ( ) const inline

getControlledStorageInfoDisp()

const std::optional< SmallVector< uint32_t, 8 > > & llvm::object::XCOFFTracebackTable::getControlledStorageInfoDisp ( ) inline

getEhInfoDisp()

const std::optional< uint64_t > & llvm::object::XCOFFTracebackTable::getEhInfoDisp ( ) const inline

getExtensionTable()

const std::optional< uint8_t > & llvm::object::XCOFFTracebackTable::getExtensionTable ( ) const inline

getFunctionName()

const std::optional< StringRef > & llvm::object::XCOFFTracebackTable::getFunctionName ( ) const inline

getHandlerMask()

const std::optional< uint32_t > & llvm::object::XCOFFTracebackTable::getHandlerMask ( ) const inline

getLanguageID()

uint8_t llvm::object::XCOFFTracebackTable::getLanguageID ( ) const

getNumberOfFixedParms()

uint8_t llvm::object::XCOFFTracebackTable::getNumberOfFixedParms ( ) const

getNumberOfFPParms()

uint8_t llvm::object::XCOFFTracebackTable::getNumberOfFPParms ( ) const

getNumOfCtlAnchors()

const std::optional< uint32_t > & llvm::object::XCOFFTracebackTable::getNumOfCtlAnchors ( ) inline

getNumOfFPRsSaved()

uint8_t llvm::object::XCOFFTracebackTable::getNumOfFPRsSaved ( ) const

getNumOfGPRsSaved()

uint8_t llvm::object::XCOFFTracebackTable::getNumOfGPRsSaved ( ) const

getOnConditionDirective()

uint8_t llvm::object::XCOFFTracebackTable::getOnConditionDirective ( ) const

getParmsType()

const std::optional< SmallString< 32 > > & llvm::object::XCOFFTracebackTable::getParmsType ( ) const inline

getTraceBackTableOffset()

const std::optional< uint32_t > & llvm::object::XCOFFTracebackTable::getTraceBackTableOffset ( ) const inline

getVectorExt()

const std::optional< TBVectorExt > & llvm::object::XCOFFTracebackTable::getVectorExt ( ) const inline

getVersion()

uint8_t llvm::object::XCOFFTracebackTable::getVersion ( ) const

hasControlledStorage()

bool llvm::object::XCOFFTracebackTable::hasControlledStorage ( ) const

hasExtensionTable()

bool llvm::object::XCOFFTracebackTable::hasExtensionTable ( ) const

hasParmsOnStack()

bool llvm::object::XCOFFTracebackTable::hasParmsOnStack ( ) const

hasTraceBackTableOffset()

bool llvm::object::XCOFFTracebackTable::hasTraceBackTableOffset ( ) const

hasVectorInfo()

bool llvm::object::XCOFFTracebackTable::hasVectorInfo ( ) const

isAllocaUsed()

bool llvm::object::XCOFFTracebackTable::isAllocaUsed ( ) const

isBackChainStored()

bool llvm::object::XCOFFTracebackTable::isBackChainStored ( ) const

isCRSaved()

bool llvm::object::XCOFFTracebackTable::isCRSaved ( ) const

isFixup()

bool llvm::object::XCOFFTracebackTable::isFixup ( ) const

isFloatingPointOperationLogOrAbortEnabled()

bool llvm::object::XCOFFTracebackTable::isFloatingPointOperationLogOrAbortEnabled ( ) const

isFloatingPointPresent()

bool llvm::object::XCOFFTracebackTable::isFloatingPointPresent ( ) const

isFuncNamePresent()

bool llvm::object::XCOFFTracebackTable::isFuncNamePresent ( ) const

isGlobalLinkage()

bool llvm::object::XCOFFTracebackTable::isGlobalLinkage ( ) const

isInternalProcedure()

bool llvm::object::XCOFFTracebackTable::isInternalProcedure ( ) const

isInterruptHandler()

bool llvm::object::XCOFFTracebackTable::isInterruptHandler ( ) const

isLRSaved()

bool llvm::object::XCOFFTracebackTable::isLRSaved ( ) const

isOutOfLineEpilogOrPrologue()

bool llvm::object::XCOFFTracebackTable::isOutOfLineEpilogOrPrologue ( ) const

isTOCless()

bool llvm::object::XCOFFTracebackTable::isTOCless ( ) const

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