Commit Graph

4 Commits

Author SHA1 Message Date
Artem Chikin
a5d6126e64 Merge pull request #79954 from artemcm/NoTouchyTouchy
[Test Only] Avoid 'touch'ing test inputs in dependency scanning suite
2025-03-12 21:50:48 -07:00
Artem Chikin
1e1bd1a187 [Test Only] Avoid 'touch'ing test inputs in dependency scanning suite
It may interfere with other tests running in-parallel which perform up-to-date consistency checking

Resolves rdar://144133085
2025-03-12 11:10:22 -07:00
Artem Chikin
3a1b41f22d [Test][Dependency Scanning] Restrict macos-only test
The headers this test is relying on have some macos-specific dependency behavior. Restrict the test for now, to unblock testing on other platforms.

Resolves rdar://146771469
2025-03-11 11:23:38 -07:00
Artem Chikin
acb4e847f5 [Dependency Scanning] Add functionality to validate contents of a loaded scanner cache state
Checking each module dependency info if it is up-to-date with respect to when the cache contents were serialized in a prior scan.

- Add a timestamp field to the serialization format for the dependency scanner cache
- Add a flag "-validate-prior-dependency-scan-cache" which, when combined with "-load-dependency-scan-cache" will have the scanner prune dependencies from the deserialized cache which have inputs that are newer than the prior scan itself

With the above in-place, the scan otherwise proceeds as-is, getting cache hits for entries still valid since the prior scan.
2025-02-03 10:33:43 -08:00