Merge pull request #10203 from merryhime/ctx_lr
MachineContext: Correct CTX_LR for Apple ARM64
This commit is contained in:
commit
c89226cbd4
|
@ -69,7 +69,7 @@ typedef x86_thread_state64_t SContext;
|
|||
#elif _M_ARM_64
|
||||
typedef arm_thread_state64_t SContext;
|
||||
#define CTX_REG(x) __x[x]
|
||||
#define CTX_LR __x[30]
|
||||
#define CTX_LR __lr
|
||||
#define CTX_SP __sp
|
||||
#define CTX_PC __pc
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue