-
Notifications
You must be signed in to change notification settings - Fork 5.1k
exclude UTF8 string marshallers from cg2 #55624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/coreclr/tools/aot/ILCompiler.ReadyToRun/Interop/IL/Marshaller.ReadyToRun.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good otherwise!
src/coreclr/tools/aot/ILCompiler.ReadyToRun/Interop/IL/Marshaller.ReadyToRun.cs
Outdated
Show resolved
Hide resolved
src/coreclr/tools/aot/ILCompiler.ReadyToRun/Interop/IL/Marshaller.ReadyToRun.cs
Outdated
Show resolved
Hide resolved
The non-pinned cases which are not supported will throw
This block needs the #if READYTORUN and throw NotSupportedException change as well. Refers to: src/coreclr/tools/Common/TypeSystem/Interop/IL/Marshaller.cs:1609 in 3d9cb77. [](commit_id = 3d9cb77, deletion_comment = False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🕐
src/coreclr/tools/aot/ILCompiler.ReadyToRun/Interop/IL/Marshaller.ReadyToRun.cs
Show resolved
Hide resolved
All calls to InteropHelpers should now be under !READYTORUN
|
Fixes #51189
@dotnet/crossgen-contrib