Chris Lattner
|
b3c814538b
|
r120013 dropped passing in the precomputed file size to
MemoryBuffer::getFile, causing us to pick up a fstat for
every file. Restore the optimization.
llvm-svn: 120032
|
2010-11-23 19:38:22 +00:00 |
|
Chris Lattner
|
2a6fa47b26
|
PCH files only cache successful stats. Remove the code that reads/writes
the result code of the stat to/from the PCH file since it is always 0.
llvm-svn: 120031
|
2010-11-23 19:28:12 +00:00 |
|
Chris Lattner
|
226efd356c
|
rework the stat cache, pulling it out of FileManager.h into
its own header and giving it some more structure. No
functionality change.
llvm-svn: 120030
|
2010-11-23 19:19:34 +00:00 |
|