LLDB mainline
Classes | Macros | Typedefs | Functions
RegisterContextNetBSD_x86_64.cpp File Reference
#include "RegisterContextNetBSD_x86_64.h"
#include "RegisterContextNetBSD_i386.h"
#include "RegisterContextPOSIX_x86.h"
#include "llvm/Support/Compiler.h"
#include "llvm/TargetParser/Triple.h"
#include <cassert>
#include <cstddef>
#include "RegisterInfos_x86_64.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 RegisterInfoPrivateGetRegisterInfoPtr (const lldb_private::ArchSpec &target_arch)
 
static uint32_t PrivateGetRegisterCount (const lldb_private::ArchSpec &target_arch)
 
static uint32_t PrivateGetUserRegisterCount (const lldb_private::ArchSpec &target_arch)
 

Macro Definition Documentation

◆ DECLARE_REGISTER_INFOS_X86_64_STRUCT

#define DECLARE_REGISTER_INFOS_X86_64_STRUCT

Definition at line 83 of file RegisterContextNetBSD_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 76 of file RegisterContextNetBSD_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 87 of file RegisterContextNetBSD_x86_64.cpp.

References g_register_infos.

Referenced by GetRegisterInfo_i386(), and PrivateGetRegisterCount().

◆ GetRegisterInfo_i386()

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

◆ PrivateGetRegisterCount()

static uint32_t PrivateGetRegisterCount ( const lldb_private::ArchSpec target_arch)
static

◆ PrivateGetRegisterInfoPtr()

static const RegisterInfo * PrivateGetRegisterInfoPtr ( const lldb_private::ArchSpec target_arch)
static

◆ PrivateGetUserRegisterCount()

static uint32_t PrivateGetUserRegisterCount ( const lldb_private::ArchSpec target_arch)
static