aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorKadir Cetinkaya <kadircet@google.com>2023-05-23 09:47:57 +0200
committerKadir Cetinkaya <kadircet@google.com>2023-05-23 14:30:58 +0200
commit35ce741ef3e3dd9db1da3ea0a06c565cb90f665a (patch)
treed9bb7c9e6faf935d3a253f3d23ccfcd134f9c98e /llvm/lib/FileCheck/FileCheck.cpp
parent70688e82e2fd6b486931669b981c18f3830385b5 (diff)
downloadllvm-35ce741ef3e3dd9db1da3ea0a06c565cb90f665a.zip
llvm-35ce741ef3e3dd9db1da3ea0a06c565cb90f665a.tar.gz
llvm-35ce741ef3e3dd9db1da3ea0a06c565cb90f665a.tar.bz2
[clangd] Store paths as requested in PreambleStatCache
Underlying FS can store different file names inside the stat response (e.g. symlinks resolved, absolute paths, dots removed). But we store path names as requested inside the preamble, https://github.com/llvm/llvm-project/blob/main/clang/lib/Serialization/ASTWriter.cpp#L1635. This improves cache hit rates from ~30% to 90% in a build system that uses symlinks. Differential Revision: https://reviews.llvm.org/D151185
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions