Skip to content
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

Cleanup marshalling handling #1102

Merged
merged 2 commits into from
May 26, 2021

Conversation

kant2002
Copy link
Contributor

@kant2002 kant2002 commented May 9, 2021

Related to #167 and
Closes #168

<ExcludeList Include="$(XunitTestBinBase)/Interop/PInvoke/NativeCallManagedComVisible/**/*">
<Issue>https://github.com/dotnet/runtimelab/issues/155: COM</Issue>
</ExcludeList>
<ExcludeList Include="$(XunitTestBinBase)/Interop/PInvoke/SizeParamIndex/**/*">
<ExcludeList Include="$(XunitTestBinBase)/Interop/PInvoke/SizeParamIndex/ReversePInvoke/**/*">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This folder has separate issues IMO. Maybe warrant to change Issue number here.

@kant2002
Copy link
Contributor Author

@MichalStrehovsky I hope that I properly understand direction which should I go. I have some doubt points (like adding new ExceptionStringId) and miss new exception messages.

@kant2002 kant2002 force-pushed the kant/cleanup-marshalling branch from 302c163 to 751e588 Compare May 20, 2021 18:36
@kant2002 kant2002 force-pushed the kant/cleanup-marshalling branch from 751e588 to ea76dd0 Compare May 25, 2021 07:17
@kant2002 kant2002 force-pushed the kant/cleanup-marshalling branch from 1db2bad to 53f9283 Compare May 25, 2021 15:20
@jkotas
Copy link
Member

jkotas commented May 25, 2021

/azp run runtimelab-nativeaot Pri-0 Tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@jkotas jkotas merged commit 2fc97b6 into dotnet:feature/NativeAOT May 26, 2021
@kant2002 kant2002 deleted the kant/cleanup-marshalling branch May 26, 2021 02:01
@kant2002
Copy link
Contributor Author

@jkotas thanks for your patience. I appreciate a lot that you help me push this through.

@@ -434,9 +434,6 @@ public static partial class MarshalHelpers
{
case NativeTypeKind.Array:
{
if (isField || isReturn)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need more refinement. The IsBlittable check is failing with stack overflow on structs that contain arrays of itself. dotnet/runtime#53650 (comment)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where should I make changes? In NativeAOT or I can go directly to crossgen? Probably for me would be more familiar to work with NativeAOT codebase, but if crossgen similarly easy to start with I can go there.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Manish rolled back this line in dotnet/runtime#53760 . It is fine for you to work on this in NativeAOT codebase.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants