[jit] Avoid running mono_handle_native_crash () on the altstack, it can't produce...
authorZoltan Varga <vargaz@gmail.com>
Tue, 22 Oct 2019 10:31:23 +0000 (06:31 -0400)
committerGitHub <noreply@github.com>
Tue, 22 Oct 2019 10:31:23 +0000 (06:31 -0400)
commit973c4d3882d8f51c7b80fbcaa8b51d5278e89f5a
tree64c77831e3052839c01e52571aca13ab7057b99c
parent409cdd9ce57d8d44cce39700a593383a0f8ea7d1
[jit] Avoid running mono_handle_native_crash () on the altstack, it can't produce a backtrace. AMD64 only for now. (mono/mono#17466)

* [jit] Avoid running mono_handle_native_crash () on the altstack, it can't produce a backtrace. AMD64 only for now.

* Fix checks so stack overflows work again.

Commit migrated from https://github.com/mono/mono/commit/b96260e603fe0188e54019bfde8ca00bc2b5d78c
src/mono/mono/mini/exceptions-amd64.c
src/mono/mono/mini/mini-runtime.c
src/mono/mono/mini/mini-runtime.h