mirror of
https://github.com/corda/corda.git
synced 2025-01-03 19:54:13 +00:00
correct THREAD_STATE_THREAD register for arm64 on darwin
This commit is contained in:
parent
46e445017e
commit
8be7b6aeb3
@ -35,7 +35,7 @@
|
||||
#define THREAD_STATE_IP(state) ((state).FIELD(pc))
|
||||
#define THREAD_STATE_STACK(state) ((state).FIELD(sp))
|
||||
#if (defined __APPLE__) && (defined ARCH_arm64)
|
||||
#define THREAD_STATE_THREAD(state) ((state).FIELD(x[8]))
|
||||
#define THREAD_STATE_THREAD(state) ((state).FIELD(x[19]))
|
||||
#else
|
||||
#define THREAD_STATE_THREAD(state) ((state).FIELD(r[8]))
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user