-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mono: support CallConvSuppressGCTransition (#47006)
* [metadata] Parse modopt encoded calling conventions Add suppress_gc_transition bit to MonoMethodSignature to add support for the SuppressGCTransition unmanaged calling convention modifier. * [mini] Don't emit a wrapper on calli if suppress_gc_transition is set This adds support for `delegate* unmanaged[Cdecl, SuppressGCTransition] <TRet, TArgs...>` function pointers. (And other base calling conventions other than Cdecl). * [marshal] Allow blittable types in mono_marshal_get_native_func_wrapper_indirect This was already used by C++/CLI, so the C# function pointers spec allows blittable types in unmanaged function pointer types. * [tests] Remove SuppressGCTransitionTest from exclude list Fixes #46451
- Loading branch information
1 parent
9ba916a
commit a3b37a2
Showing
5 changed files
with
82 additions
and
7 deletions.
There are no files selected for viewing
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
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
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