Displaying 1 result from an estimated 1 matches for "signal_init_thread".
2019 May 14
4
Handling of the x18 register in Wine on AArch64
...th __attribute__((ms_abi)) and restore it on return. This would
have the same effect as 2) above (but more elegantly), but also with the
same limitations wrt callbacks.
(Using this with Wine requires changing where x18 is initialized, because
when starting a process, x18 can get clobbered after signal_init_thread is
called, before handing control over to the native code. A patch for this
has been sent at https://source.winehq.org/patches/data/164651.)
A proof of concept/RFC patch for LLVM to implement this feature has been
sent at https://reviews.llvm.org/D61892.
4) Enhance the compiler to back up x18...