-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Disambiguate calli thunks based on full calling conventions #73359
Conversation
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
@@ -88,6 +88,14 @@ private static string GetFormatString(ExceptionStringID id) | |||
return SR.InvalidProgram_Vararg; | |||
case ExceptionStringID.InvalidProgramCallVirtFinalize: | |||
return SR.InvalidProgram_CallVirtFinalize; | |||
case ExceptionStringID.InvalidProgramNonStaticMethod: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated bug found by TestCallingConventions test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This probably fixed the dotnet/runtimelab#1135 issue. Thank you!
cc @dotnet/ilc-contrib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
I've lifted the smoke test from the other pull request so that we also have a smoke test for this
@@ -88,6 +88,14 @@ private static string GetFormatString(ExceptionStringID id) | |||
return SR.InvalidProgram_Vararg; | |||
case ExceptionStringID.InvalidProgramCallVirtFinalize: | |||
return SR.InvalidProgram_CallVirtFinalize; | |||
case ExceptionStringID.InvalidProgramNonStaticMethod: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This probably fixed the dotnet/runtimelab#1135 issue. Thank you!
src/coreclr/tools/Common/TypeSystem/Interop/UnmanagedCallingConventions.cs
Show resolved
Hide resolved
Linux arm failure is #73247 |
Fixes dotnet/runtimelab#153