Skip to content

🍒 [lldb] upgrade HandleFrameFormatVariable callees to llvm::Expected #10888

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

charles-zablit
Copy link

@charles-zablit charles-zablit commented Jun 23, 2025

Add `hasX` methods to all the attributes of `DemangledNameInfo`.
@charles-zablit charles-zablit requested a review from a team as a code owner June 23, 2025 17:12
@charles-zablit
Copy link
Author

@swift-ci please test

@charles-zablit charles-zablit self-assigned this Jun 23, 2025
…lvm#144731)

Upgrade the callees of `HandleFrameFormatVariable`
(`GetDemangledTemplateArguments`, etc), to return a `llvm::Expected`
instead of an `std::optional`.

This patch also bundles the logic of validating the demangled name and
information into a single reusable function to reduce code duplication.
@charles-zablit charles-zablit changed the title 🍒 [lldb] add has methods to all DemangledNameInfo attributes (#144549) 🍒 [lldb] upgrade HandleFrameFormatVariable callees to llvm::Expected Jun 24, 2025
@charles-zablit
Copy link
Author

@swift-ci please test

@charles-zablit
Copy link
Author

@swift-ci please test macOS

@adrian-prantl adrian-prantl merged commit 091662c into swiftlang:swift/release/6.2 Jun 24, 2025
3 checks passed
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