LLDB mainline
Macros
RegisterContextWindows_i386.cpp File Reference
#include "RegisterContextWindows_i386.h"
#include "RegisterContext_x86.h"
#include "lldb-x86-register-enums.h"

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)
 

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##_i386 }, nullptr, nullptr, \
nullptr, \
}

Definition at line 39 of file RegisterContextWindows_i386.cpp.

◆ GPR_OFFSET

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

Definition at line 37 of file RegisterContextWindows_i386.cpp.