Fix for x86 stublinker handling of optimized GC descs (#84861)
authorVladimir Sadov <vsadov@microsoft.com>
Sat, 15 Apr 2023 04:47:17 +0000 (21:47 -0700)
committerGitHub <noreply@github.com>
Sat, 15 Apr 2023 04:47:17 +0000 (21:47 -0700)
commita2c095e4f10a5bf12710c52d501ee45e6bb2688b
tree2230800b5405ecd3720c913ba2d47054b9e081e3
parentb9483f34340b7f42cdf31a678b3aba577f9dd8b0
Fix for x86 stublinker handling of optimized GC descs (#84861)

* added a test

* the fix

* Apply suggestions from code review

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
* redundant assert

* update the test

* use Object* in couple more places

---------

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
src/coreclr/vm/i386/stublinkerx86.cpp
src/tests/Regressions/coreclr/GitHub_84694/test84694.cs [new file with mode: 0644]
src/tests/Regressions/coreclr/GitHub_84694/test84694.csproj [new file with mode: 0644]