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

Remove some unnecessary indirection to DiagnosticServerAdapter/EventPipeAdapter in nativeaot #90132

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

elinor-fung
Copy link
Member

This removes DiagnosticServerAdapter and a bunch of functions in EventPipeAdapter in nativeaot. The functions left in EventPipeAdapter are currently used in the would-be-generated code in dotnetruntime.cpp. I just left them for now - they can go away when we switch to the script generation. The changes to the header includes were fallout from removing unnecessary includes from eventpipeadapter.h and others.

@ghost
Copy link

ghost commented Aug 8, 2023

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Issue Details

This removes DiagnosticServerAdapter and a bunch of functions in EventPipeAdapter in nativeaot. The functions left in EventPipeAdapter are currently used in the would-be-generated code in dotnetruntime.cpp. I just left them for now - they can go away when we switch to the script generation. The changes to the header includes were fallout from removing unnecessary includes from eventpipeadapter.h and others.

Author: elinor-fung
Assignees: -
Labels:

area-NativeAOT-coreclr

Milestone: -

@elinor-fung elinor-fung force-pushed the removeAdapterLayer branch 2 times, most recently from 8b36c17 to 3c76de2 Compare August 8, 2023 16:34
@elinor-fung elinor-fung closed this Aug 8, 2023
@elinor-fung elinor-fung reopened this Aug 8, 2023
Copy link
Contributor

@LakshanF LakshanF left a comment

Choose a reason for hiding this comment

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

Thanks!

@elinor-fung elinor-fung merged commit 7b26bfb into dotnet:main Aug 9, 2023
@elinor-fung elinor-fung deleted the removeAdapterLayer branch August 9, 2023 01:42
@ghost ghost locked as resolved and limited conversation to collaborators Sep 8, 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.

2 participants