14#include "llvm/Support/Compiler.h"
19#define DECLARE_REGISTER_INFOS_PPC64LE_STRUCT
21#undef DECLARE_REGISTER_INFOS_PPC64LE_STRUCT
26 case llvm::Triple::ppc64le:
27 return g_register_infos_ppc64le;
29 assert(
false &&
"Unhandled target architecture.");
37 case llvm::Triple::ppc64le:
38 return static_cast<uint32_t
>(
sizeof(g_register_infos_ppc64le) /
39 sizeof(g_register_infos_ppc64le[0]));
41 assert(
false &&
"Unhandled target architecture.");
static uint32_t GetRegisterInfoCount(const lldb_private::ArchSpec &target_arch)
static const lldb_private::RegisterInfo * GetRegisterInfoPtr(const lldb_private::ArchSpec &target_arch)
const lldb_private::RegisterInfo * GetRegisterInfo() const override
uint32_t GetRegisterCount() const override
const lldb_private::RegisterInfo * m_register_info_p
size_t GetGPRSize() const override
uint32_t m_register_info_count
RegisterInfoPOSIX_ppc64le(const lldb_private::ArchSpec &target_arch)
An architecture specification class.
llvm::Triple::ArchType GetMachine() const
Returns a machine family for the current architecture.
A class that represents a running process on the host machine.
Every register is described in detail including its name, alternate name (optional),...