diff --git a/Utilities/Thread.cpp b/Utilities/Thread.cpp index 0bb5ece45a..bb41b1e83e 100644 --- a/Utilities/Thread.cpp +++ b/Utilities/Thread.cpp @@ -465,7 +465,7 @@ typedef ucontext_t x64_context; #define X64REG(context, reg) (darwin_x64reg(context, reg)) #define XMMREG(context, reg) (reinterpret_cast(&(context)->uc_mcontext->__fs.__fpu_xmm0[reg])) -#define EFLAGS(context) ((context)->uc_mcontext->__ss.__eflags) +#define EFLAGS(context) ((context)->uc_mcontext->__ss.__rflags) uint64_t* darwin_x64reg(x64_context *context, int reg) {