libphobos: Push all callee-save registers on the stack before GC scan on ARM
authorIain Buclaw <ibuclaw@gdcproject.org>
Thu, 2 Dec 2021 00:53:51 +0000 (01:53 +0100)
committerIain Buclaw <ibuclaw@gdcproject.org>
Thu, 2 Dec 2021 14:41:27 +0000 (15:41 +0100)
commita27940feffbbff172d8ec84ee825e1997b3d0210
tree44d313d2b592708bc7c951aa78d08c925903e756
parent9b8830b6f3920b3ec6b9013230c687dc250bb6e9
libphobos: Push all callee-save registers on the stack before GC scan on ARM

This is the library fix for PR103520 that also prevents the garbage
collector from releasing live memory.  However this requires that the
host compiler has been patched with this fix, so the GC will remain
disabled in the D front-end for now until enough time has passed for
this to have trickled down into enough releases.

libphobos/ChangeLog:

* libdruntime/core/thread/osthread.d (callWithStackShell): Push all
callee-save registers on the stack for AArch64 and ARM.
libphobos/libdruntime/core/thread/osthread.d