Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[UpdateEngine] AssemblyProcessor was generating invalid ldftn for vir…
…tual/interface calls (causing crashes with .NET Core 3). Switch to ldvirtftn for those instead. Now, we use the following approach: - For normal calls, we use ldftn and an instance calls - For virtual and interface calls, we generate a dispatch function that calls ldvirtftn on the actual object, then call the method on the object. Note: this dispatcher method is static, so the calli has a different signature (currently a if/else, but could later be done by separate class implementations).
- Loading branch information
Showing
10 changed files
with
213 additions
and
47 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
deps/AssemblyProcessor/Xenko.Core.AssemblyProcessor.Packed.exe
Git LFS file not shown
4 changes: 2 additions & 2 deletions
4
deps/AssemblyProcessor/Xenko.Core.AssemblyProcessor.Packed.pdb
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.