@@ -773,14 +773,12 @@ bool ModuleDependenciesCacheDeserializer::readGraph(
773773 if (!hasCurrentModule)
774774 llvm::report_fatal_error (" Unexpected CLANG_MODULE_DETAILS_NODE record" );
775775 unsigned pcmOutputPathID, mappedPCMPathID, moduleMapPathID, contextHashID,
776- commandLineArrayID, fileDependenciesArrayID,
777- CASFileSystemRootID, clangIncludeTreeRootID, moduleCacheKeyID,
778- isSystem;
776+ commandLineArrayID, fileDependenciesArrayID, clangIncludeTreeRootID,
777+ moduleCacheKeyID, isSystem;
779778 ClangModuleDetailsLayout::readRecord (
780779 Scratch, pcmOutputPathID, mappedPCMPathID, moduleMapPathID,
781780 contextHashID, commandLineArrayID, fileDependenciesArrayID,
782- CASFileSystemRootID, clangIncludeTreeRootID,
783- moduleCacheKeyID, isSystem);
781+ clangIncludeTreeRootID, moduleCacheKeyID, isSystem);
784782 auto pcmOutputPath = getIdentifier (pcmOutputPathID);
785783 if (!pcmOutputPath)
786784 llvm::report_fatal_error (" Bad pcm output path" );
@@ -799,9 +797,6 @@ bool ModuleDependenciesCacheDeserializer::readGraph(
799797 auto fileDependencies = getStringArray (fileDependenciesArrayID);
800798 if (!fileDependencies)
801799 llvm::report_fatal_error (" Bad file dependencies" );
802- auto rootFileSystemID = getIdentifier (CASFileSystemRootID);
803- if (!rootFileSystemID)
804- llvm::report_fatal_error (" Bad CASFileSystem RootID" );
805800 auto clangIncludeTreeRoot = getIdentifier (clangIncludeTreeRootID);
806801 if (!clangIncludeTreeRoot)
807802 llvm::report_fatal_error (" Bad clang include tree ID" );
@@ -813,7 +808,7 @@ bool ModuleDependenciesCacheDeserializer::readGraph(
813808 auto moduleDep = ModuleDependencyInfo::forClangModule (
814809 *pcmOutputPath, *mappedPCMPath, *moduleMapPath, *contextHash,
815810 *commandLineArgs, *fileDependencies, linkLibraries,
816- *rootFileSystemID, * clangIncludeTreeRoot, *moduleCacheKey, isSystem);
811+ *clangIncludeTreeRoot, *moduleCacheKey, isSystem);
817812 addCommonDependencyInfo (moduleDep);
818813
819814 cache.recordDependency (currentModuleName, std::move (moduleDep));
@@ -1692,7 +1687,6 @@ void ModuleDependenciesCacheSerializer::writeModuleInfo(
16921687 ModuleIdentifierArrayKind::NonPathCommandLine),
16931688 getIdentifierArrayID (moduleID,
16941689 ModuleIdentifierArrayKind::FileDependencies),
1695- getIdentifier (clangDeps->CASFileSystemRootID ),
16961690 getIdentifier (clangDeps->CASClangIncludeTreeRootID ),
16971691 getIdentifier (clangDeps->moduleCacheKey ), clangDeps->IsSystem );
16981692
@@ -1982,7 +1976,6 @@ void ModuleDependenciesCacheSerializer::collectStringsAndArrays(
19821976 clangDeps->buildCommandLine );
19831977 addStringArray (moduleID, ModuleIdentifierArrayKind::FileDependencies,
19841978 clangDeps->fileDependencies );
1985- addIdentifier (clangDeps->CASFileSystemRootID );
19861979 addIdentifier (clangDeps->CASClangIncludeTreeRootID );
19871980 addIdentifier (clangDeps->moduleCacheKey );
19881981 break ;
0 commit comments