Skip to content

[lldb][NFC] Remove downstream changes related to ThreadPlan migration #10077

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

felipepiovezan
Copy link

The initial implementation of swift async stepping involved migrating ThreadPlans from thread to thread. With the OS plugins introduced in 1, this is no longer needed and the associated code is dead.

To find the relevant diffs, files were compared with their upstream counterparts, and code mentioning the following concepts was deleted:

  • "synchronizing plans",
  • "detached plans",
  • "setting TIDs on a thread plan",
  • "activating a thread plan stack".

The storage for thread plan stacks had been substantially changed downstream to allow for the concepts above. This patch restores the original storage data structures.

These were the files compared:

  • ThreadPlanStack{.cpp, .h}
  • ThreadPlan{.cpp, .h}
  • Process{.cpp, .h}

(cherry picked from commit c8c7df7)

The initial implementation of swift async stepping involved migrating
ThreadPlans from thread to thread. With the OS plugins introduced in
[1], this is no longer needed and the associated code is dead.

To find the relevant diffs, files were compared with their
upstream counterparts, and code mentioning the following concepts was
deleted:

* "synchronizing plans",
* "detached plans",
* "setting TIDs on a thread plan",
* "activating a thread plan stack".

The storage for thread plan stacks had been substantially changed
downstream to allow for the concepts above. This patch restores the
original storage data structures.

These were the files compared:

* ThreadPlanStack{.cpp, .h}
* ThreadPlan{.cpp, .h}
* Process{.cpp, .h}

[1]: swiftlang#9839

(cherry picked from commit c8c7df7)
@felipepiovezan felipepiovezan merged commit c752dc4 into swiftlang:next Feb 20, 2025
@felipepiovezan felipepiovezan deleted the felipe/cherry-pick-customization-removal branch February 20, 2025 20:14
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.

1 participant