Set out_module, to avoid getting no useful information in the printout
authorAlexis Christoforides <alexis@thenull.net>
Tue, 16 Jul 2019 18:42:51 +0000 (14:42 -0400)
committerLarry Ewing <lewing@microsoft.com>
Wed, 4 Sep 2019 01:30:30 +0000 (20:30 -0500)
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

index 060b8af..7b7e018 100644 (file)
@@ -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";