99ba9e3bd70671f3441fb974895f226a83ce0e66 |
|
20-Dec-2011 |
David Blaikie <dblaikie@gmail.com> |
Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@146959 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/FileSystemStatCache.cpp
|
256053b31e697fdf0cc48f17d621c82fc3b8dff0 |
|
17-Dec-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Replace all uses of PathV1::isAbsolute with PathV2::is_{absolute,relative}. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122087 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/FileSystemStatCache.cpp
|
c0f31fd08537b65ad92db8ce860747e3402a07e6 |
|
02-Dec-2010 |
Chris Lattner <sabre@nondot.org> |
attempt to fix a buildbot failure, apparently apache fails to build. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120688 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/FileSystemStatCache.cpp
|
03013fa9a0bf1ef4b907f5fec006c8f4000fdd21 |
|
29-Nov-2010 |
Michael J. Spencer <bigcheesegs@gmail.com> |
Merge System into Support. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120297 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/FileSystemStatCache.cpp
|
0d4739abf60372abdbafabd8ed59acc5d01729b5 |
|
24-Nov-2010 |
Francois Pichet <pichet2000@gmail.com> |
Fix 2 problems with Chris Lattner's FileManager redesign on Windows. - FileEntry::operator= is needed on Win32. - There was an error in the S_ISDIR() macro. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120079 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/FileSystemStatCache.cpp
|
5cc1c738b0c51af55cbfe7672c284c19f8e30eb2 |
|
23-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
The final result of all this refactoring: instead of doing stat immediately followed by an open for every source file we open, probe the file system with 'open' and then do an fstat when it succeeds. open+fstat is faster than stat+open because the kernel only has to perform the string->inode mapping once. Presumably it gets faster the deeper in your filesystem a lookup happens. For -Eonly on cocoa.h, this reduces system time from 0.042s to 0.039s on my machine, a 7.7% speedup. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120066 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/FileSystemStatCache.cpp
|
b2b93c12d768cfdeb21909f734b04ccb82d75da2 |
|
23-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
if we succeed in opening a directory but expected a file, ensure we don't leak a filedescriptor if a client ever starts returning one. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120062 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/FileSystemStatCache.cpp
|
898a061f69e1145bf89a987c08203132b9922a3c |
|
23-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
change the 'is directory' indicator to be a null-or-not pointer that is passed down through the APIs, and make FileSystemStatCache::get be the one that filters out directory lookups that hit files. This also paves the way to have stat queries be able to return opened files. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120060 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/FileSystemStatCache.cpp
|
72f6130a17742e9c9078b4b60ad8f7ac2c690a3b |
|
23-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
replicate a terrible hack to fix a build error on VC++ git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120039 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/FileSystemStatCache.cpp
|
d6f611198089b78e32d3a15fe8bc986204aee1aa |
|
23-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
simplify the cache miss handling code, eliminating CacheMissing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120038 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/FileSystemStatCache.cpp
|
f8f6129861f3972dab2c5a6cde29711ac780a7d0 |
|
23-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
r120013 dropped passing in the precomputed file size to MemoryBuffer::getFile, causing us to pick up a fstat for every file. Restore the optimization. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120032 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/FileSystemStatCache.cpp
|
74e976ba4b0d407bb798ea26476f618e256fc8c7 |
|
23-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120031 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/FileSystemStatCache.cpp
|
10e286aa8d39fb51a21412850265d9dae74613ee |
|
23-Nov-2010 |
Chris Lattner <sabre@nondot.org> |
rework the stat cache, pulling it out of FileManager.h into its own header and giving it some more structure. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120030 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/lib/Basic/FileSystemStatCache.cpp
|