Skip to content

[lldb] Update swift::ASTContext API #8165

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

cachemeifyoucan
Copy link

Update lldb to use updated swift::ASTContext API.

Update lldb to use updated swift::ASTContext API.
@cachemeifyoucan
Copy link
Author

Please test with following pull request:
swiftlang/swift#71497

@swift-ci please test

1 similar comment
@cachemeifyoucan
Copy link
Author

Please test with following pull request:
swiftlang/swift#71497

@swift-ci please test

@cachemeifyoucan
Copy link
Author

Please test with following pull request:
swiftlang/swift#71497

@swift-ci please test windows platform

@@ -3104,6 +3104,10 @@ swift::symbolgraphgen::SymbolGraphOptions &SwiftASTContext::GetSymbolGraphOption
return GetCompilerInvocation().getSymbolGraphOptions();
}

swift::CASOptions &SwiftASTContext::GetCASOptions() {
return GetCompilerInvocation().getCASOptions();

Choose a reason for hiding this comment

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

Do the CAS options get serialized in the Swift module together with the rest of the invocation?

Copy link
Author

Choose a reason for hiding this comment

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

I actually have a follow up patch to include that in the context hash. Does debugger need something from CASOption to be serialized into module?

@cachemeifyoucan cachemeifyoucan merged commit 78aa821 into swiftlang:stable/20230725 Feb 13, 2024
@cachemeifyoucan cachemeifyoucan deleted the eng/PR-lldb-update-astcontext-swift-71497 branch February 13, 2024 17:18
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