[Dependency Scanning] Configure the Clang dependency scanner to generate PCM output paths

Using the convention of : <Module_Cache_Path> + "/" + <Module_Name> + "-" + <Context_Hash> + ".pcm"
This commit is contained in:
Artem Chikin
2022-11-07 16:20:20 -08:00
parent a0cb7a6e30
commit 11cd472f14
3 changed files with 35 additions and 9 deletions

View File

@@ -230,7 +230,7 @@ GlobalModuleDependenciesCache::GlobalModuleDependenciesCache()
clang::tooling::dependencies::ScanningMode::DependencyDirectivesScan,
clang::tooling::dependencies::ScanningOutputFormat::Full,
clang::CASOptions(),
/* Cache */ nullptr,
/* Cache (llvm::cas::ActionCache) */ nullptr,
/* SharedFS */ nullptr,
/* ReuseFileManager */ false,
/* OptimizeArgs */ false) {}