Fix PInvoke transition frame in CPAOT (dotnet/coreclr#26706)
authorTomáš Rylek <trylek@microsoft.com>
Sat, 14 Sep 2019 12:31:39 +0000 (05:31 -0700)
committerGitHub <noreply@github.com>
Sat, 14 Sep 2019 12:31:39 +0000 (05:31 -0700)
commit6b10cc68049d4b3ec911358322ce8ce5a12c0502
tree878abe76099abf1838b14f05f74c3ef00745cb2a
parent6c4eaf5265d0d06404c08612e558a004723423d4
Fix PInvoke transition frame in CPAOT (dotnet/coreclr#26706)

During investigation of Linux CPAOT failures Jan Vorlicek discovered
that we were using the wrong constant for the PInvoke transition
frame. I have verified that the change fixes all tests under
JIT\methodical\explicit\basic I was previously seeing; I am running
the complete Pridotnet/coreclr#1 test suite to get an overall picture.

Thanks

Tomas

Commit migrated from https://github.com/dotnet/coreclr/commit/e4f35bf59cd2a96e00232ce7e004ec33d8317183
src/coreclr/src/inc/readytorun.h
src/coreclr/src/tools/crossgen2/Common/JitInterface/CorInfoImpl.cs
src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/Compiler/DependencyAnalysis/ReadyToRun/FixupConstants.cs
src/coreclr/src/tools/crossgen2/ILCompiler.ReadyToRun/JitInterface/CorInfoImpl.ReadyToRun.cs
src/coreclr/src/vm/jitinterface.cpp