Skip to content

Get SwiftASTContextForExpression's SDK path straight from debug info. #3879

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

Merged
merged 2 commits into from
Feb 3, 2022

Conversation

adrian-prantl
Copy link

@adrian-prantl adrian-prantl commented Feb 2, 2022

This mostly-NFC patch cuts out the middle-person and directly parses
the SDK info from the debug info in SwiftASTContextForExpression, thus
avoiding the costly need to iterate over all SwiftASTContext and the
last call to warmup_contexts().

@adrian-prantl adrian-prantl changed the title Get SwiftASTContextForExpression's SDK path strraight from debug info. Get SwiftASTContextForExpression's SDK path straight from debug info. Feb 2, 2022
This mostly-NFC patch cuts out the middle-person and directly parses
the SDK info from the debug info in SwiftASTContextForExpression, rhus
avoiding the costly need to iterate over all SwiftASTContext and the
last call to warmup_contexts().
@adrian-prantl
Copy link
Author

@swift-ci test

@adrian-prantl adrian-prantl merged commit 6adbce2 into swiftlang:stable/20211026 Feb 3, 2022
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