Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mono] Fix StackTrace from a dim and Vtable offsets for static interface method #60770

Merged
merged 5 commits into from
Dec 2, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/mono/mono/mini/mini-exceptions.c
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,9 @@ mono_get_generic_context_from_stack_frame (MonoJitInfo *ji, gpointer generic_inf
klass = vtable->klass;
}

if (mono_class_is_interface (method->klass))
return context;
lambdageek marked this conversation as resolved.
Show resolved Hide resolved

//g_assert (!mono_class_is_gtd (method->klass));
if (mono_class_is_ginst (method->klass))
method_container_class = mono_class_get_generic_class (method->klass)->container_class;
Expand Down