class StackMapParser::LocationAccessor
Declaration
class StackMapParser::LocationAccessor { /* full declaration omitted */ };
Description
Accessor for location records.
Declared at: llvm/include/llvm/Object/StackMapParser.h:111
Member Variables
- private const uint8_t* P
- private static const int KindOffset = 0
- private static const int SizeOffset = KindOffset + sizeof(unsigned short)
- private static const int DwarfRegNumOffset = SizeOffset + sizeof(unsigned short)
- private static const int SmallConstantOffset = DwarfRegNumOffset + sizeof(unsigned int)
- private static const int LocationAccessorSize = sizeof(unsigned long) + sizeof(unsigned int)
Method Overview
- private LocationAccessor(const uint8_t * P)
- public uint32_t getConstantIndex() const
- public uint16_t getDwarfRegNum() const
- public llvm::StackMapParser::LocationKind getKind() const
- public int32_t getOffset() const
- public unsigned int getSizeInBytes() const
- public uint32_t getSmallConstant() const
- private llvm::StackMapParser::LocationAccessor next() const
Methods
¶LocationAccessor(const uint8_t* P)
LocationAccessor(const uint8_t* P)
Declared at: llvm/include/llvm/Object/StackMapParser.h:154
Parameters
- const uint8_t* P
¶uint32_t getConstantIndex() const
uint32_t getConstantIndex() const
Description
Get the constant-index for this location. (Kind must be ConstantIndex).
Declared at: llvm/include/llvm/Object/StackMapParser.h:139
¶uint16_t getDwarfRegNum() const
uint16_t getDwarfRegNum() const
Description
Get the Dwarf register number for this location.
Declared at: llvm/include/llvm/Object/StackMapParser.h:128
¶llvm::StackMapParser::LocationKind getKind() const
llvm::StackMapParser::LocationKind getKind() const
Description
Get the Kind for this location.
Declared at: llvm/include/llvm/Object/StackMapParser.h:117
¶int32_t getOffset() const
int32_t getOffset() const
Description
Get the offset for this location. (Kind must be Direct or Indirect).
Declared at: llvm/include/llvm/Object/StackMapParser.h:146
¶unsigned int getSizeInBytes() const
unsigned int getSizeInBytes() const
Description
Get the Size for this location.
Declared at: llvm/include/llvm/Object/StackMapParser.h:122
¶uint32_t getSmallConstant() const
uint32_t getSmallConstant() const
Description
Get the small-constant for this location. (Kind must be Constant).
Declared at: llvm/include/llvm/Object/StackMapParser.h:133
¶llvm::StackMapParser::LocationAccessor next()
const
llvm::StackMapParser::LocationAccessor next()
const
Declared at: llvm/include/llvm/Object/StackMapParser.h:156