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

Use CorInfoCallConvExtension throughout runtime interop code #47251

Merged
merged 5 commits into from
Jan 21, 2021

Conversation

jkoritzinsky
Copy link
Member

As preparation for implementing #46775, this PR changes the interop code in CoreCLR to use CorInfoCallConvExtension as the representation for calling conventions internally instead of CorPinvokeMap or CorUnmanagedCallingConvention.

This change enables us to only have to add support for propagating new calling conventions significantly more easily since we won't need to determine how to represent new calling conventions using the old enums.

src/coreclr/vm/dllimportcallback.cpp Show resolved Hide resolved
src/coreclr/vm/dllimportcallback.cpp Show resolved Hide resolved
src/coreclr/vm/stubgen.cpp Show resolved Hide resolved
src/coreclr/vm/stubgen.cpp Outdated Show resolved Hide resolved
src/coreclr/vm/dllimport.cpp Show resolved Hide resolved
src/coreclr/vm/dllimport.cpp Outdated Show resolved Hide resolved
src/coreclr/vm/dllimport.cpp Outdated Show resolved Hide resolved
src/coreclr/vm/dllimport.cpp Outdated Show resolved Hide resolved
@ghost
Copy link

ghost commented Jan 21, 2021

Hello @jkoritzinsky!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@jkoritzinsky jkoritzinsky merged commit 73da00f into dotnet:master Jan 21, 2021
@jkoritzinsky jkoritzinsky deleted the stub-use-corinfocallconvext branch January 21, 2021 21:58
@ghost ghost locked as resolved and limited conversation to collaborators Feb 20, 2021
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.

2 participants