LLDB  mainline
Macros
RegisterContextWindows_i386.cpp File Reference
#include "RegisterContextWindows_i386.h"
#include "RegisterContext_x86.h"
#include "lldb-x86-register-enums.h"
Include dependency graph for RegisterContextWindows_i386.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)
 

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, 0 \
}

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.