Skip to content

Conversation

@BruceForstall
Copy link
Contributor

Fix issue introduced in #45625

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Dec 17, 2020
@BruceForstall
Copy link
Contributor Author

@dotnet/jit-contrib

@kunalspathak
Copy link
Contributor

Could you please describe what this fix tries to do and if we want it despite #46176?

@BruceForstall
Copy link
Contributor Author

Could you please describe what this fix tries to do and if we want it despite #46176?

#46176 didn't fix the SuperPMI issue.

The original change altered the behavior of the getUnmanagedCallConv API. Either the method handle or the callsig could be null. We were dereferencing the null pointer leading to a crash.

There was an additional copy/paste error where the wrong LWM map was being used.

@BruceForstall BruceForstall merged commit 5ef9a24 into dotnet:master Dec 18, 2020
@BruceForstall BruceForstall deleted the FixSpmiGetUnmanagedCallConv branch December 18, 2020 00:21
@ghost ghost locked as resolved and limited conversation to collaborators Jan 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants