9#ifndef LLDB_UTILITY_REGISTERINFO_H
10#define LLDB_UTILITY_REGISTERINFO_H
15#include "llvm/ADT/ArrayRef.h"
60 llvm::ArrayRef<uint8_t>
data(
const uint8_t *context_base)
const {
64 llvm::MutableArrayRef<uint8_t>
mutable_data(uint8_t *context_base)
const {
65 return llvm::MutableArrayRef<uint8_t>(context_base +
byte_offset,
69static_assert(std::is_trivial<RegisterInfo>::value,
70 "RegisterInfo must be trivial.");
A class that represents a running process on the host machine.
Format
Display format definitions.
Encoding
Register encoding definitions.
Every register is described in detail including its name, alternate name (optional),...
llvm::MutableArrayRef< uint8_t > mutable_data(uint8_t *context_base) const
lldb::Encoding encoding
Encoding of the register bits.
const char * alt_name
Alternate name of this register, can be NULL.
uint32_t * value_regs
List of registers (terminated with LLDB_INVALID_REGNUM).
uint32_t byte_offset
The byte offset in the register context data where this register's value is found.
uint32_t byte_size
Size in bytes of the register.
uint32_t kinds[lldb::kNumRegisterKinds]
Holds all of the various register numbers for all register kinds.
const RegisterFlags * flags_type
If not nullptr, a type defined by XML descriptions.
llvm::ArrayRef< uint8_t > data(const uint8_t *context_base) const
const char * name
Name of this register, can't be NULL.
lldb::Format format
Default display format.
uint32_t * invalidate_regs
List of registers (terminated with LLDB_INVALID_REGNUM).
Registers are grouped into register sets.
size_t num_registers
The number of registers in REGISTERS array below.
const uint32_t * registers
An array of register indicies in this set.
const char * name
Name of this register set.
const char * short_name
A short name for this register set.