LLVM  6.0.0svn
Public Member Functions | Friends | List of all members
llvm::StackMapV2Parser< Endianness >::LocationAccessor Class Reference

Accessor for location records. More...

#include "llvm/Object/StackMapParser.h"

Public Member Functions

LocationKind getKind () const
 Get the Kind for this location. More...
 
uint16_t getDwarfRegNum () const
 Get the Dwarf register number for this location. More...
 
uint32_t getSmallConstant () const
 Get the small-constant for this location. (Kind must be Constant). More...
 
uint32_t getConstantIndex () const
 Get the constant-index for this location. (Kind must be ConstantIndex). More...
 
int32_t getOffset () const
 Get the offset for this location. (Kind must be Direct or Indirect). More...
 

Friends

class StackMapV2Parser
 
class RecordAccessor
 

Detailed Description

template<support::endianness Endianness>
class llvm::StackMapV2Parser< Endianness >::LocationAccessor

Accessor for location records.

Definition at line 108 of file StackMapParser.h.

Member Function Documentation

◆ getConstantIndex()

template<support::endianness Endianness>
uint32_t llvm::StackMapV2Parser< Endianness >::LocationAccessor::getConstantIndex ( ) const
inline

Get the constant-index for this location. (Kind must be ConstantIndex).

Definition at line 130 of file StackMapParser.h.

References assert(), llvm::StackMapV2Parser< Endianness >::ConstantIndex, and P.

◆ getDwarfRegNum()

template<support::endianness Endianness>
uint16_t llvm::StackMapV2Parser< Endianness >::LocationAccessor::getDwarfRegNum ( ) const
inline

Get the Dwarf register number for this location.

Definition at line 119 of file StackMapParser.h.

References P.

◆ getKind()

template<support::endianness Endianness>
LocationKind llvm::StackMapV2Parser< Endianness >::LocationAccessor::getKind ( ) const
inline

Get the Kind for this location.

Definition at line 114 of file StackMapParser.h.

References P.

◆ getOffset()

template<support::endianness Endianness>
int32_t llvm::StackMapV2Parser< Endianness >::LocationAccessor::getOffset ( ) const
inline

Get the offset for this location. (Kind must be Direct or Indirect).

Definition at line 137 of file StackMapParser.h.

References assert(), llvm::StackMapV2Parser< Endianness >::Direct, llvm::StackMapV2Parser< Endianness >::Indirect, and P.

◆ getSmallConstant()

template<support::endianness Endianness>
uint32_t llvm::StackMapV2Parser< Endianness >::LocationAccessor::getSmallConstant ( ) const
inline

Get the small-constant for this location. (Kind must be Constant).

Definition at line 124 of file StackMapParser.h.

References assert(), llvm::StackMapV2Parser< Endianness >::Constant, and P.

Friends And Related Function Documentation

◆ RecordAccessor

template<support::endianness Endianness>
friend class RecordAccessor
friend

Definition at line 110 of file StackMapParser.h.

◆ StackMapV2Parser

template<support::endianness Endianness>
friend class StackMapV2Parser
friend

Definition at line 109 of file StackMapParser.h.


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