LLDB mainline
Classes | Macros | Typedefs | Functions
RegisterContextLinux_x86_64.cpp File Reference
#include "RegisterContextLinux_x86_64.h"
#include "RegisterContextLinux_i386.h"
#include "RegisterContextPOSIX_x86.h"
#include <vector>
#include "RegisterInfos_x86_64_with_base.h"

Go to the source code of this file.

Classes

struct  _GPR
 
struct  DBG
 
struct  UserArea
 

Macros

#define DR_OFFSET(reg_index)
 
#define DECLARE_REGISTER_INFOS_X86_64_STRUCT
 
#define UPDATE_REGISTER_INFOS_I386_STRUCT_WITH_X86_64_OFFSETS
 

Typedefs

typedef struct _GPR GPR
 

Functions

static std::vector< lldb_private::RegisterInfo > & GetPrivateRegisterInfoVector ()
 
static const RegisterInfoGetRegisterInfo_i386 (const lldb_private::ArchSpec &arch)
 
static const RegisterInfoGetRegisterInfoPtr (const ArchSpec &target_arch)
 
static uint32_t GetRegisterInfoCount (const ArchSpec &target_arch)
 
static uint32_t GetUserRegisterInfoCount (const ArchSpec &target_arch)
 

Macro Definition Documentation

◆ DECLARE_REGISTER_INFOS_X86_64_STRUCT

#define DECLARE_REGISTER_INFOS_X86_64_STRUCT

Definition at line 80 of file RegisterContextLinux_x86_64.cpp.

◆ DR_OFFSET

#define DR_OFFSET (   reg_index)
Value:
(LLVM_EXTENSION offsetof(UserArea, dbg) + \
LLVM_EXTENSION offsetof(DBG, dr[reg_index]))

Definition at line 74 of file RegisterContextLinux_x86_64.cpp.

◆ UPDATE_REGISTER_INFOS_I386_STRUCT_WITH_X86_64_OFFSETS

#define UPDATE_REGISTER_INFOS_I386_STRUCT_WITH_X86_64_OFFSETS

Typedef Documentation

◆ GPR

typedef struct _GPR GPR

Function Documentation

◆ GetPrivateRegisterInfoVector()

static std::vector< lldb_private::RegisterInfo > & GetPrivateRegisterInfoVector ( )
static

Definition at line 84 of file RegisterContextLinux_x86_64.cpp.

References g_register_infos.

Referenced by GetRegisterInfo_i386(), and GetRegisterInfoCount().

◆ GetRegisterInfo_i386()

static const RegisterInfo * GetRegisterInfo_i386 ( const lldb_private::ArchSpec arch)
static

◆ GetRegisterInfoCount()

static uint32_t GetRegisterInfoCount ( const ArchSpec target_arch)
static

◆ GetRegisterInfoPtr()

static const RegisterInfo * GetRegisterInfoPtr ( const ArchSpec target_arch)
static

◆ GetUserRegisterInfoCount()

static uint32_t GetUserRegisterInfoCount ( const ArchSpec target_arch)
static