LLDB  mainline
Macros
RegisterContextWindows_x86_64.cpp File Reference
#include "RegisterContextWindows_x86_64.h"
#include "RegisterContext_x86.h"
#include "lldb-x86-register-enums.h"
#include <vector>
Include dependency graph for RegisterContextWindows_x86_64.cpp:

Go to the source code of this file.

Macros

#define GPR_OFFSET(regname)   (LLVM_EXTENSION offsetof(GPR, regname))
 
#define DEFINE_GPR(reg, alt, kind1, kind2, kind3, kind4)
 
#define FPR_OFFSET(regname)   (sizeof(GPR) + LLVM_EXTENSION offsetof(FPReg, regname))
 
#define DEFINE_XMM(reg)
 

Macro Definition Documentation

◆ DEFINE_GPR

#define DEFINE_GPR (   reg,
  alt,
  kind1,
  kind2,
  kind3,
  kind4 
)
Value:
{ \
#reg, alt, sizeof(((GPR *)nullptr)->reg), GPR_OFFSET(reg), eEncodingUint, \
eFormatHex, \
{kind1, kind2, kind3, kind4, lldb_##reg##_x86_64 }, nullptr, nullptr, \
}

Definition at line 47 of file RegisterContextWindows_x86_64.cpp.

◆ DEFINE_XMM

#define DEFINE_XMM (   reg)
Value:
{ \
#reg, NULL, sizeof(((FPReg *)nullptr)->reg), FPR_OFFSET(reg), \
eEncodingUint, eFormatVectorOfUInt64, \
{dwarf_##reg##_x86_64, dwarf_##reg##_x86_64, LLDB_INVALID_REGNUM, \
LLDB_INVALID_REGNUM, lldb_##reg##_x86_64 }, \
nullptr, nullptr, \
}

Definition at line 76 of file RegisterContextWindows_x86_64.cpp.

◆ FPR_OFFSET

#define FPR_OFFSET (   regname)    (sizeof(GPR) + LLVM_EXTENSION offsetof(FPReg, regname))

Definition at line 73 of file RegisterContextWindows_x86_64.cpp.

◆ GPR_OFFSET

#define GPR_OFFSET (   regname)    (LLVM_EXTENSION offsetof(GPR, regname))

Definition at line 46 of file RegisterContextWindows_x86_64.cpp.