[clang] [clang][Dependency Scanning] Adding an API to Diagnose Invalid Negative Stat Cache Entries (PR #135703)
Jan Svoboda via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 15 09:02:17 PDT 2025
================
@@ -108,6 +108,32 @@ DependencyScanningFilesystemSharedCache::getShardForUID(
return CacheShards[Hash % NumShards];
}
+void DependencyScanningFilesystemSharedCache::diagnoseNegativeStatCachedPaths(
----------------
jansvoboda11 wrote:
Shouldn't this be taking locks? If there's a precondition that no other threads use this object, we should at least reflect that in the documentation.
https://github.com/llvm/llvm-project/pull/135703
More information about the cfe-commits
mailing list