mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Caching] Fix -access-note-path when using caching
Make sure to capture access-note when building with swift caching. rdar://161835182
This commit is contained in:
@@ -471,6 +471,11 @@ SwiftDependencyTracker::SwiftDependencyTracker(
|
||||
// Add blocklist file.
|
||||
for (auto &File: CI.getFrontendOptions().BlocklistConfigFilePaths)
|
||||
addCommonFile(File);
|
||||
|
||||
// Add access notes.
|
||||
StringRef AccessNotePath = CI.getLangOptions().AccessNotesPath;
|
||||
if (!AccessNotePath.empty())
|
||||
addCommonFile(AccessNotePath);
|
||||
}
|
||||
|
||||
void SwiftDependencyTracker::startTracking(bool includeCommonDeps) {
|
||||
|
||||
Reference in New Issue
Block a user