Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Fix recursive inlining of PInvoke stubs #18737

Merged
merged 1 commit into from
Jul 1, 2018
Merged

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Jul 1, 2018

PInvoke stubs can be inlined into a regular methods in CoreRT. PInvoke transition
has to be inlined as well when that happens. Otherwise, there is a risk of recursive
inlining in corner cases.

PInvoke stubs can be inlined into a regular methods in CoreRT. PInvoke transition
has to be inlined as well when that happens. Otherwise, there is a risk of recursive
inlining in corner cases.
@jkotas
Copy link
Member Author

jkotas commented Jul 1, 2018

This should be the last tweak for dotnet/corert#5960

@jkotas
Copy link
Member Author

jkotas commented Jul 1, 2018

@dotnet-bot test OSX10.12 x64 Checked Innerloop Build and Test please

@jkotas jkotas merged commit 55023b7 into dotnet:master Jul 1, 2018
@jkotas jkotas deleted the corert-fix branch July 2, 2018 00:17
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
PInvoke stubs can be inlined into a regular methods in CoreRT. PInvoke transition
has to be inlined as well when that happens. Otherwise, there is a risk of recursive
inlining in corner cases.

Commit migrated from dotnet/coreclr@55023b7
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant