-
Notifications
You must be signed in to change notification settings - Fork 353
[clang][DependencyScanning] Fix StableDir and DependencyActionController Setup for By-Name Lookups
#11822
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
[clang][DependencyScanning] Fix StableDir and DependencyActionController Setup for By-Name Lookups
#11822
Conversation
|
We have tests in |
|
@swift-ci please test llvm |
|
The two failing tests were failing already before this PR. |
jansvoboda11
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, please add a test for these. I understand that the missing call to createActionController() didn't cause a test failure - you probably need a new test for this with CAS and by-name scan. But the StableDirs being a local instead of member now surprises me, that should definitely trigger some existing (upstream) test in LLVM, no?
|
@swift-ci please test llvm |
|
I am adding a stable dir test upstream with llvm#168143.
No because no testing upstream was there tests by-name lookup. |
I see. Is the upstream test actually broken without this PR? Or what other consequences are there without this PR? |
The upstream test passes upstream, but it would be broken if it was in |
|
@swift-ci please test llvm |
|
The failing test does not relate to this PR.. I am landing this PR. |
…e Lookups (#11861) This PR cherry-picks two tests added to upstream and next to check for stable directory and CAS setup for by-name dependency queries. * [clang][DependencyScanning] Add Test Coverage of `StabeDirs` during By-Name Lookups (llvm#168143) This PR adds some test coverage for `StableDirs` during by-name lookups. (cherry picked from commit 3f61402) * [clang][DependencyScanning] Fix `StableDir` and `DependencyActionController` Setup for By-Name Lookups (#11822) llvm#164345 merge conflict resolution with `next` introduced two issues. 1. It did not correctly pick up the logic to set `StableDir` for `CompilerInstanceWithContext`. 2. It did not correctly setup the action controller for CAS. This PR fixes both issues. (cherry picked from commit 31fe4fc)
llvm#164345 merge conflict resolution with
nextintroduced two issues.StableDirforCompilerInstanceWithContext.This PR fixes both issues.