Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonojenkins <jo.shields+jenkins@xamarin.com>2020-02-24 21:01:47 +0300
committerGitHub <noreply@github.com>2020-02-24 21:01:47 +0300
commit44703b3eccda6d93c2a38d93524699c14bb162ff (patch)
tree560c62303e1bffc2b58c46a57cb7978a9ddddb45
parent0ac7105eddd639114b805b7021500f8dff4012a9 (diff)
[merp] Produce hashes for unmanaged thread stacks also (#18964)
Before, this was only done for managed stacks. Addresses https://github.com/mono/mono/issues/18941 Co-authored-by: Alexis Christoforides <alexis@thenull.net>
-rw-r--r--mono/mini/mini-exceptions.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mono/mini/mini-exceptions.c b/mono/mini/mini-exceptions.c
index 8574bdf5c99..a686f7a4ae2 100644
--- a/mono/mini/mini-exceptions.c
+++ b/mono/mini/mini-exceptions.c
@@ -1786,6 +1786,9 @@ mono_summarize_unmanaged_stack (MonoThreadSummary *out)
if (out->unmanaged_frames [i].str_descr [0] != '\0')
out->unmanaged_frames [i].unmanaged_data.has_name = TRUE;
+
+ out->hashes.offset_free_hash = summarize_offset_free_hash (out->hashes.offset_free_hash, frame);
+ out->hashes.offset_rich_hash = summarize_offset_rich_hash (out->hashes.offset_rich_hash, frame);
}
#endif