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

Add support for stack walks on wasm for the reflection methods which need them. #45076

Merged
merged 1 commit into from
Nov 23, 2020

Conversation

vargaz
Copy link
Contributor

@vargaz vargaz commented Nov 22, 2020

Fixes #44269.

@ghost
Copy link

ghost commented Nov 22, 2020

Tagging subscribers to this area:
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #44269.

Author: vargaz
Assignees: -
Labels:

area-Codegen-JIT-mono

Milestone: -

@@ -3489,6 +3489,22 @@ method_needs_stack_walk (MonoCompile *cfg, MonoMethod *cmethod)
if (!strcmp (cmethod->name, "GetType"))
return TRUE;
}

#if defined(ENABLE_NETCORE)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to do this everywhere or just on wasm?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everywhere really, other platforms need a bit of support as well, just to turn off tail calls.

@vargaz vargaz merged commit e274015 into dotnet:master Nov 23, 2020
@vargaz vargaz deleted the wasm-stack-walk branch November 23, 2020 17:25
@ghost ghost locked as resolved and limited conversation to collaborators Dec 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Wasm][AOT] Assembly.Load fails on already loaded assembly
3 participants