mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Add uc_mcontext for FreeBSD aarch64
This commit is contained in:
parent
1aeb5d55dd
commit
689c9cdbb9
@ -186,6 +186,8 @@ static void * getCallerAddress(const ucontext_t & context)
|
||||
#elif defined(__APPLE__) && defined(__aarch64__)
|
||||
return reinterpret_cast<void *>(context.uc_mcontext->__ss.__pc);
|
||||
|
||||
#elif defined(__FreeBSD__) && defined(__aarch64__)
|
||||
return reinterpret_cast<void *>(context.uc_mcontext.mc_gpregs.gp_elr);
|
||||
#elif defined(__aarch64__)
|
||||
return reinterpret_cast<void *>(context.uc_mcontext.pc);
|
||||
#elif defined(__powerpc64__)
|
||||
|
Loading…
Reference in New Issue
Block a user