Skip to content

Conversation

@felipepiovezan
Copy link

Currently, an LLDB target option controls whether plugins report all threads. However, it seems natural for this knowledge could come from the plugin itself. To support this, this commits adds a virtual method to the plugin base class, making the Python OS query the target option to preserve existing behavior.

(cherry picked from commit cb82771)

Currently, an LLDB target option controls whether plugins report all
threads. However, it seems natural for this knowledge could come from
the plugin itself. To support this, this commits adds a virtual method
to the plugin base class, making the Python OS query the target option
to preserve existing behavior.

(cherry picked from commit cb82771)
@felipepiovezan felipepiovezan requested a review from a team as a code owner January 16, 2025 23:18
@felipepiovezan
Copy link
Author

Cherry pick from upstream llvm#123145

@felipepiovezan
Copy link
Author

@swift-ci test

@felipepiovezan
Copy link
Author

@swift-ci test platform macos

@felipepiovezan
Copy link
Author

@swift-ci test macOS platform

Global,
DefaultTrue,
Desc<"Set to False if your OS Plugins doesn't report all threads on each stop.">;
Desc<"Set to False if your Python OS Plugin doesn't report all threads on each stop.">;

Choose a reason for hiding this comment

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

Suggested change
Desc<"Set to False if your Python OS Plugin doesn't report all threads on each stop.">;
Desc<"Set to False if your scripted OS Plugin doesn't report all threads on each stop.">;

@adrian-prantl adrian-prantl merged commit bf1660c into swiftlang:swift/release/6.1 Jan 17, 2025
3 checks passed
@felipepiovezan felipepiovezan deleted the felipe/cherry-pick-plugin-reports-all-threads branch January 17, 2025 17:41
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