Skip to content

RemoteInspection: Append ResumeAsyncContext field to AsyncTaskInfo #77167

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

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.

@kastiglione kastiglione requested a review from mikeash October 22, 2024 17:24
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.

@kastiglione kastiglione marked this pull request as ready for review November 6, 2024 18:05
@adrian-prantl adrian-prantl merged commit 1b3215f into release/6.1 Jan 14, 2025
5 checks passed
@adrian-prantl adrian-prantl deleted the dl/main/RemoteInspection-Append-ResumeAsyncContext-field-to-AsyncTaskInfo branch January 14, 2025 23:55
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.

4 participants