[mono] Squelch Mach exception handlers (#41536)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Sat, 29 Aug 2020 18:23:12 +0000 (14:23 -0400)
committerGitHub <noreply@github.com>
Sat, 29 Aug 2020 18:23:12 +0000 (11:23 -0700)
commitc329f7325925379883356c52f5f6b471e3b99c7f
tree077e82d2ee94b15984df0e2934c13b5332692e04
parentf66c021387a7f11c059bcd6467c9fe72674303b1
[mono] Squelch Mach exception handlers (#41536)

Work around LLDB's unconditionally-installed and inflexible Mach
exception handler by installing a no-op task-wide Mach exception
handler.

See also:
- https://github.com/openjdk/jdk/blob/50cc54c730bb0f130991648d1547d42483edddc1/src/hotspot/os/bsd/os_bsd.cpp#L2810-L2817
- https://github.com/mono/mono/issues/10180#issuecomment-683119507

Co-authored-by: imhameed <imhameed@users.noreply.github.com>
src/mono/mono/mini/mini-darwin.c