[DependencyScanning] Count target variant, clang target, and sdk versions as components of scanning context hash

Resolves rdar://103093122
This commit is contained in:
Artem Chikin
2022-12-08 14:31:20 -08:00
parent 02864618a7
commit 44a8f99d19
2 changed files with 12 additions and 2 deletions

View File

@@ -439,9 +439,10 @@ ModuleDependenciesCache::getDependencyReferencesMap(
ModuleDependenciesCache::ModuleDependenciesCache(
GlobalModuleDependenciesCache &globalCache,
std::string mainScanModuleName,
std::string scanningContextHash)
std::string scannerContextHash)
: globalCache(globalCache),
mainScanModuleName(mainScanModuleName),
scannerContextHash(scannerContextHash),
clangScanningTool(globalCache.ClangScanningService) {
globalCache.configureForContextHash(scannerContextHash);
for (auto kind = ModuleDependenciesKind::FirstKind;