diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-12-11 00:27:20 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-12-11 00:27:20 +0000 |
commit | 475ddb4547ce35706ce1ff54b14bdcfdc51954c2 (patch) | |
tree | dff9a7b6e255e35fe74f0f1e02c6570c5082a1f9 /lib/Analysis/MallocChecker.cpp | |
parent | 737061fc2948776f941e1854a9bc6ebd070d9151 (diff) |
FileManager: Do not cache failed stats, it is easy to construct common
inconsistent situations if we do, and they are not important for PCH performance
(which currently only needs the stats to construct the initial FileManager
entries).
- No test case, sorry, the machinations are too involved.
This occurs when, for example, the build makes a PCH file and has a header map
or a -I for a directory that does not yet exist. It is possible we will cache
the negative stat on that directory, and then in the build we will never find
header files inside that dir.
For PCH we don't need these stats anyway for performance, so this also makes PCH
files smaller w/ no loss. I hope to eventually eliminate the stat cache
entirely.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91082 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/MallocChecker.cpp')
0 files changed, 0 insertions, 0 deletions