]> granicus.if.org Git - gc/commit
Workaround missing getcontext() in Docker osrf/ubuntu_32bit
authorIvan Maidanski <ivmai@mail.ru>
Thu, 11 Aug 2016 08:56:44 +0000 (11:56 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 11 Nov 2016 18:33:34 +0000 (21:33 +0300)
commit6dc8f2944ecd606db375b0ccecc9214280504bdf
treea9206a6edcdbab96cbb7c1738bffc85894eb811e
parent6c13603a240583188852b796ebc8f6b4042163f3
Workaround missing getcontext() in Docker osrf/ubuntu_32bit
(Cherry-pick commit 46a20de from 'release-7_4' branch.)

* mach_dep.c [NO_GETCONTEXT] (GC_with_callee_saves_pushed): Call WARN
instead of ABORT if getcontext() failed; do not set context variable
if getcontext() failed; fallback to other register retrieval methods
(__builtin_unwind_init or setjmp) if context variable is NULL.
* mach_dep.c (GC_with_callee_saves_pushed): Reformat code.
mach_dep.c