Move MONO_SIG_HANDLER_DEBUG from mono/utils/mono-signal-handler.h to
commitcb4d25dec2d36e89b197e33dc63fefdc7379be34
authorJay Krell <jaykrell@microsoft.com>
Tue, 18 Sep 2018 15:05:40 +0000 (18 08:05 -0700)
committerJay Krell <jaykrell@microsoft.com>
Tue, 18 Sep 2018 17:24:18 +0000 (18 10:24 -0700)
treea08a8a37889fd67a0a20cb82831734e39016fac0
parent7c191c13701d6cf36479ff7c4f79e5058c68a22a
Move MONO_SIG_HANDLER_DEBUG from mono/utils/mono-signal-handler.h to
mono/mini/mini-runtime.c so it can use the correct ifdefs
which should fix WebAssembly compilation and let it work on
Mac and Win32 also. This means we no longer need HOST_LINUX in configure.ac either.

Note that for Win32 we don't have the same sort of execution
of a debugger for this to help, but you can see it works
if you run in a debugger and break on mono_sigsegv_signal_handler_debug.
mono/mini/mini-runtime.c
mono/utils/mono-signal-handler.h