| commit | c8b740eade3a96dd7ad1bada99bce5d411fa25b9 | [log] [tgz] |
|---|---|---|
| author | Ted Kremenek <kremenek@apple.com> | Thu Feb 12 00:39:05 2009 +0000 |
| committer | Ted Kremenek <kremenek@apple.com> | Thu Feb 12 00:39:05 2009 +0000 |
| tree | f20e57e3c538a7cb99878c54197b54a1f813af2b | |
| parent | 6752502b81367869062655406908d30653813f2a [diff] |
Add lightweight shim "clang::StatSysCallCache" that caches 'stat' system calls for use by FileManager. FileManager now takes a StatSysCallCache* in its constructor (which defaults to NULL). This will be used for evaluating whether or not caching 'stat' system calls in PTH is a performance win. This shim adds no observable performance impact in the case where the 'StatSysCallCache*' is null. llvm-svn: 64345