12namespace process_gdb_remote {
14#define REG(name, size) \
15 DynamicRegisterInfo::Register { \
16 ConstString(#name), empty_alt_name, reg_set, size, LLDB_INVALID_INDEX32, \
17 lldb::eEncodingUint, lldb::eFormatHex, LLDB_INVALID_REGNUM, \
18 LLDB_INVALID_REGNUM, LLDB_INVALID_REGNUM, LLDB_INVALID_REGNUM, {}, {} \
20#define R64(name) REG(name, 8)
21#define R32(name) REG(name, 4)
22#define R16(name) REG(name, 2)
28 std::vector<DynamicRegisterInfo::Register> registers{
43 std::vector<DynamicRegisterInfo::Register> registers{
55 std::vector<DynamicRegisterInfo::Register> registers{
68 std::vector<DynamicRegisterInfo::Register> registers{
82std::vector<DynamicRegisterInfo::Register>
85 case llvm::Triple::aarch64:
87 case llvm::Triple::msp430:
89 case llvm::Triple::x86:
91 case llvm::Triple::x86_64:
An architecture specification class.
llvm::Triple::ArchType GetMachine() const
Returns a machine family for the current architecture.
A uniqued constant string class.
static std::vector< DynamicRegisterInfo::Register > GetRegisters_x86()
static std::vector< DynamicRegisterInfo::Register > GetRegisters_x86_64()
std::vector< DynamicRegisterInfo::Register > GetFallbackRegisters(const ArchSpec &arch_to_use)
static std::vector< DynamicRegisterInfo::Register > GetRegisters_aarch64()
static std::vector< DynamicRegisterInfo::Register > GetRegisters_msp430()
A class that represents a running process on the host machine.