Skip to content

[stable/20230725][CAS/libclang] Add libclang APIs for handling and replaying cached compilations #7304

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

akyrtzi
Copy link

@akyrtzi akyrtzi commented Aug 23, 2023

  • Lookup a cached compilation using a compilation cache key
  • Get information about the compilation outputs and materialize them (bring them in the local CAS)
  • Replay a cached compilation

These allow a client to retrieve the data of a prior cached compilation and replay it without needing to invoke clang as a separate process.

(cherry picked from commit 9c0b819)

…mpilations

* Lookup a cached compilation using a compilation cache key
* Get information about the compilation outputs and materialize them (bring them in the local CAS)
* Replay a cached compilation

These allow a client to retrieve the data of a prior cached compilation and replay it without needing
to invoke clang as a separate process.

(cherry picked from commit 9c0b819)
@akyrtzi
Copy link
Author

akyrtzi commented Aug 23, 2023

@swift-ci Please test LLVM

@akyrtzi akyrtzi merged commit 3782f0c into swiftlang:stable/20230725 Aug 23, 2023
@akyrtzi akyrtzi deleted the akyrtzi/pr/major-libclang-cas-queries branch August 23, 2023 18:19
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