[Dependency Scanning] Batching Clang Import Scans by Name #80164
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is a work in progress at the moment and intends to show a functional prototype.
This PR teaches the dependency scanner to batch the module names and scan a list of names using one thread, instead
of dispatching each individual module by name to the
clangimporter. This way, theclangimporter can process thelist in one shot, avoiding creating duplicating resource for each individual modules.
This PR works in tandem with llvm/llvm-project#129915.
rdar://136303612