From 9c447e187fc6d3570614237fc7a09b321c5b0651 Mon Sep 17 00:00:00 2001 From: Alexis Christoforides Date: Tue, 16 Jul 2019 14:42:51 -0400 Subject: [PATCH] Set out_module, to avoid getting no useful information in the printout It seems that without this, most/all entries in the unmanaged frames list are have no useful information. Commit migrated from https://github.com/mono/mono/commit/4b02c3eb9df654784cdfcd40f6a9a9ab590fb337 --- src/mono/mono/mini/mini-exceptions.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mono/mono/mini/mini-exceptions.c b/src/mono/mono/mini/mini-exceptions.c index 060b8af..7b7e018 100644 --- a/src/mono/mono/mini/mini-exceptions.c +++ b/src/mono/mono/mini/mini-exceptions.c @@ -1461,8 +1461,10 @@ check_whitelisted_module (const char *in_name, const char **out_module) #ifndef MONO_PRIVATE_CRASHES return TRUE; #else - if (allow_all_native_libraries) + if (allow_all_native_libraries) { + *out_module = in_name; return TRUE; + } if (g_str_has_suffix (in_name, "mono-sgen")) { if (out_module) *out_module = "mono"; -- 2.7.4