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

Fix trimmability issues in Quic test #85579

Merged
merged 2 commits into from
May 1, 2023
Merged

Fix trimmability issues in Quic test #85579

merged 2 commits into from
May 1, 2023

Conversation

MichalStrehovsky
Copy link
Member

The NativeAOT runs of this test are broken. Trimming doesn't analyze the pattern that is here and this crashes with a NullRef.

When doing reflection like this, one can temporarily add <EnableTrimAnalyzer>true</EnableTrimAnalyzer> to the test project - it's going to flag anything that would put NativeAOT on the floor.

Cc @dotnet/ilc-contrib

@MichalStrehovsky MichalStrehovsky requested a review from ManickaP May 1, 2023 08:37
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label May 1, 2023
@ghost ghost assigned MichalStrehovsky May 1, 2023
@MichalStrehovsky
Copy link
Member Author

/azp run runtime-extra-platforms

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@MichalStrehovsky MichalStrehovsky added area-System.Net.Quic and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels May 1, 2023
@ghost
Copy link

ghost commented May 1, 2023

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

The NativeAOT runs of this test are broken. Trimming doesn't analyze the pattern that is here and this crashes with a NullRef.

When doing reflection like this, one can temporarily add <EnableTrimAnalyzer>true</EnableTrimAnalyzer> to the test project - it's going to flag anything that would put NativeAOT on the floor.

Cc @dotnet/ilc-contrib

Author: MichalStrehovsky
Assignees: MichalStrehovsky
Labels:

area-System.Net.Quic, needs-area-label

Milestone: -

@antonfirsov
Copy link
Member

/azp run runtime-libraries stress-http

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@antonfirsov antonfirsov left a comment

Choose a reason for hiding this comment

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

LGTM.

@jkotas
Copy link
Member

jkotas commented May 1, 2023

Opened #85600 on the OSX native AOT failure.

@jkotas jkotas merged commit b8aeaad into main May 1, 2023
@MichalStrehovsky MichalStrehovsky deleted the MichalStrehovsky-patch-1 branch May 1, 2023 20:04
@karelz karelz added this to the 8.0.0 milestone May 27, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Jun 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants