[clang][deps] Do not cache PCM files
authorJan Svoboda <jan_svoboda@apple.com>
Mon, 15 May 2023 21:26:10 +0000 (14:26 -0700)
committerJan Svoboda <jan_svoboda@apple.com>
Tue, 16 May 2023 00:43:54 +0000 (17:43 -0700)
commit94d22b09bbb212773a226726ee03a44edbbe98c7
treee366709d082a7e95c4543da036317efe8305c50a
parent09c5d69592f7df4db62063e4dd231a7e154bdac6
[clang][deps] Do not cache PCM files

On incremental scan, caching an out-of-date PCM on the VFS layer causes each TU and each module to recompile the PCM again. This is huge performance problem. Stop caching ".pcm" files.

Reviewed By: Bigcheese

Differential Revision: https://reviews.llvm.org/D150615
clang/lib/Tooling/DependencyScanning/DependencyScanningFilesystem.cpp