diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-02-12 00:39:05 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-02-12 00:39:05 +0000 |
commit | fc7052d4a241ee6fc70afea7c1c9560147f0a49c (patch) | |
tree | 52ea40cc7c5c28d06dfb3ef50f0cb516acacca39 /lib/CodeGen/CodeGenFunction.h | |
parent | b7b5d13de34272b31681e7eafa9851e39bde2ef9 (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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64345 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions