Skip to content

[lldb][nfc] Adjust language plugin to changes in FilterForLineBreakpoints #10238

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

This PR cherry-picks the llvm commit [lldb] Let languages see all SymbolContexts at once when filtering breakpoints

Then it updates the SwiftLanguage plugin to adopt the new interface.
It is NFC: it changes the breakpoint resolver from taking one location at a time to taking all locations at once.

This will enable a future fix to how SwiftLanguage can filter unnecessary breakpoints in async functions.

…eakpoints (llvm#129937)

This allows languages to make decisions based on the whole set of symbol
contexts, giving them strictly more power than when they are only
allowed to see one at a time.

(cherry picked from commit fef0b8a)
@felipepiovezan felipepiovezan requested a review from a team as a code owner March 12, 2025 14:06
@felipepiovezan
Copy link
Author

@swift-ci test

@felipepiovezan felipepiovezan merged commit 8ae58cd into swiftlang:stable/20240723 Mar 13, 2025
2 of 3 checks passed
@felipepiovezan felipepiovezan deleted the felipe/update_filter_bp_line branch March 13, 2025 15:26
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