LLDB mainline
|
#include "RegisterContextDarwin_arm64.h"
#include "RegisterContextDarwinConstants.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/Thread.h"
#include "lldb/Utility/DataBufferHeap.h"
#include "lldb/Utility/DataExtractor.h"
#include "lldb/Utility/Endian.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/RegisterValue.h"
#include "lldb/Utility/Scalar.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Compiler.h"
#include "Plugins/Process/Utility/InstructionUtils.h"
#include <memory>
#include "Utility/ARM64_DWARF_Registers.h"
#include "RegisterInfos_arm64.h"
Go to the source code of this file.
Macros | |
#define | GPR_OFFSET(idx) ((idx)*8) |
#define | GPR_OFFSET_NAME(reg) (LLVM_EXTENSION offsetof(RegisterContextDarwin_arm64::GPR, reg)) |
#define | FPU_OFFSET(idx) ((idx)*16 + sizeof(RegisterContextDarwin_arm64::GPR)) |
#define | FPU_OFFSET_NAME(reg) (LLVM_EXTENSION offsetof(RegisterContextDarwin_arm64::FPU, reg)) |
#define | EXC_OFFSET_NAME(reg) |
#define | DBG_OFFSET_NAME(reg) |
#define | DEFINE_DBG(reg, i) |
#define | REG_CONTEXT_SIZE |
#define | DECLARE_REGISTER_INFOS_ARM64_STRUCT |
Variables | |
static uint32_t | g_gpr_regnums [] |
static uint32_t | g_fpu_regnums [] |
static uint32_t | g_exc_regnums [] = {exc_far, exc_esr, exc_exception} |
static size_t | k_num_register_infos = std::size(g_register_infos_arm64_le) |
const size_t | k_num_gpr_registers = std::size(g_gpr_regnums) |
const size_t | k_num_fpu_registers = std::size(g_fpu_regnums) |
const size_t | k_num_exc_registers = std::size(g_exc_regnums) |
static const RegisterSet | g_reg_sets [] |
const size_t | k_num_regsets = std::size(g_reg_sets) |
#define DBG_OFFSET_NAME | ( | reg | ) |
Definition at line 49 of file RegisterContextDarwin_arm64.cpp.
#define DECLARE_REGISTER_INFOS_ARM64_STRUCT |
Definition at line 69 of file RegisterContextDarwin_arm64.cpp.
#define DEFINE_DBG | ( | reg, | |
i | |||
) |
Definition at line 55 of file RegisterContextDarwin_arm64.cpp.
#define EXC_OFFSET_NAME | ( | reg | ) |
Definition at line 45 of file RegisterContextDarwin_arm64.cpp.
#define FPU_OFFSET | ( | idx | ) | ((idx)*16 + sizeof(RegisterContextDarwin_arm64::GPR)) |
Definition at line 41 of file RegisterContextDarwin_arm64.cpp.
#define FPU_OFFSET_NAME | ( | reg | ) | (LLVM_EXTENSION offsetof(RegisterContextDarwin_arm64::FPU, reg)) |
Definition at line 42 of file RegisterContextDarwin_arm64.cpp.
#define GPR_OFFSET | ( | idx | ) | ((idx)*8) |
Definition at line 37 of file RegisterContextDarwin_arm64.cpp.
#define GPR_OFFSET_NAME | ( | reg | ) | (LLVM_EXTENSION offsetof(RegisterContextDarwin_arm64::GPR, reg)) |
Definition at line 38 of file RegisterContextDarwin_arm64.cpp.
#define REG_CONTEXT_SIZE |
Definition at line 63 of file RegisterContextDarwin_arm64.cpp.
|
static |
Definition at line 91 of file RegisterContextDarwin_arm64.cpp.
|
static |
Definition at line 82 of file RegisterContextDarwin_arm64.cpp.
|
static |
Definition at line 74 of file RegisterContextDarwin_arm64.cpp.
|
static |
Definition at line 141 of file RegisterContextDarwin_arm64.cpp.
const size_t k_num_exc_registers = std::size(g_exc_regnums) |
Definition at line 136 of file RegisterContextDarwin_arm64.cpp.
const size_t k_num_fpu_registers = std::size(g_fpu_regnums) |
Definition at line 135 of file RegisterContextDarwin_arm64.cpp.
const size_t k_num_gpr_registers = std::size(g_gpr_regnums) |
Definition at line 134 of file RegisterContextDarwin_arm64.cpp.
|
static |
Definition at line 93 of file RegisterContextDarwin_arm64.cpp.
const size_t k_num_regsets = std::size(g_reg_sets) |
Definition at line 148 of file RegisterContextDarwin_arm64.cpp.