diff options
author | monojenkins <jo.shields+jenkins@xamarin.com> | 2020-06-30 14:18:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-30 14:18:36 +0300 |
commit | 9ca6fa646a8bb05f07d76627cf7c3b75e96c2925 (patch) | |
tree | 03b63eea7bbc5281c1505a179b134d980527b17b | |
parent | 2ff424be2933f711207a8139c5792ab5d1b495a9 (diff) |
[merp] Remove dead code (#20043)
Entry to crash reporting is now more properly handled by mono_dump_start()
Co-authored-by: Alexis Christoforides <alexis@thenull.net>
-rw-r--r-- | mono/mini/mini-exceptions.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/mono/mini/mini-exceptions.c b/mono/mini/mini-exceptions.c index 21423ebf200..14b6fbba559 100644 --- a/mono/mini/mini-exceptions.c +++ b/mono/mini/mini-exceptions.c @@ -3366,7 +3366,6 @@ print_stack_frame_to_string (StackFrameInfo *frame, MonoContext *ctx, gpointer d } #ifndef MONO_CROSS_COMPILE -static gboolean handle_crash_loop = FALSE; /* * mono_handle_native_crash: @@ -3379,9 +3378,6 @@ mono_handle_native_crash (const char *signal, MonoContext *mctx, MONO_SIG_HANDLE { MonoJitTlsData *jit_tls = mono_tls_get_jit_tls (); - if (handle_crash_loop) - return; - #ifdef MONO_ARCH_USE_SIGACTION struct sigaction sa; sa.sa_handler = SIG_DFL; @@ -3414,11 +3410,8 @@ mono_handle_native_crash (const char *signal, MonoContext *mctx, MONO_SIG_HANDLE } } - /* prevent infinite loops in crash handling */ - handle_crash_loop = TRUE; - /* - * A SIGSEGV indicates something went very wrong so we can no longer depend + * A crash indicates something went very wrong so we can no longer depend * on anything working. So try to print out lots of diagnostics, starting * with ones which have a greater chance of working. */ |