Merge pull request #10203 from merryhime/ctx_lr

MachineContext: Correct CTX_LR for Apple ARM64
This commit is contained in:
Mai M 2021-11-07 00:06:24 -04:00 committed by GitHub
commit c89226cbd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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