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

RemoteInspection: Append ResumeAsyncContext field to AsyncTaskInfo #77167

Draft
wants to merge 1 commit into
base: rebranch
Choose a base branch
from

Conversation

kastiglione
Copy link
Contributor

Expose a Task's resume context via the AsyncTaskInfo struct.

This will be used by lldb, but since this data is not specific to lldb it seems reasonable to include it generally.

Copy link
Contributor

@mikeash mikeash left a comment

Choose a reason for hiding this comment

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

Looks good. Please feel free to add anything else like this that you need.

We should probably add things to the C interface as well, but that's harder since we don't want to break the ABI. Not sure what the best approach is there, we can add a swift_reflection_asyncTaskInfo2 with the new stuff, but that could grow a lot of variations. Anyway, not something you need to figure out here, just sort of thinking out loud.

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.

2 participants