| #
16125fb6 |
| 16-Jul-2013 |
Rafael Espindola <[email protected]> |
Update for llvm API change.
llvm-svn: 186448
|
|
Revision tags: llvmorg-3.3.1-rc1, llvmorg-3.3.0, llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2, llvmorg-3.3.0-rc1, llvmorg-3.2.0 |
|
| #
3b779379 |
| 11-Dec-2012 |
Argyrios Kyrtzidis <[email protected]> |
Extend stat query APIs to explicitly specify if the query is for a file or directory, allowing just a stat call if a file descriptor is not needed.
Doing just 'stat' is faster than 'open/fstat/close
Extend stat query APIs to explicitly specify if the query is for a file or directory, allowing just a stat call if a file descriptor is not needed.
Doing just 'stat' is faster than 'open/fstat/close'. This has the effect of cutting down system time for validating the input files of a PCH.
llvm-svn: 169831
show more ...
|
|
Revision tags: llvmorg-3.2.0-rc3, llvmorg-3.2.0-rc2, llvmorg-3.2.0-rc1, llvmorg-3.1.0, llvmorg-3.1.0-rc3, llvmorg-3.1.0-rc2, llvmorg-3.1.0-rc1 |
|
| #
68e081d6 |
| 20-Dec-2011 |
David Blaikie <[email protected]> |
Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch
llvm-svn: 146959
|
|
Revision tags: llvmorg-3.0.0, llvmorg-3.0.0-rc4, llvmorg-3.0.0-rc3, llvmorg-3.0.0-rc2, llvmorg-3.0.0-rc1, llvmorg-2.9.0, llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2, llvmorg-2.9.0-rc1 |
|
| #
f28df4cd |
| 17-Dec-2010 |
Michael J. Spencer <[email protected]> |
Replace all uses of PathV1::isAbsolute with PathV2::is_{absolute,relative}.
llvm-svn: 122087
|
| #
4fc8fb09 |
| 02-Dec-2010 |
Chris Lattner <[email protected]> |
attempt to fix a buildbot failure, apparently apache fails to build.
llvm-svn: 120688
|
| #
8aaf4995 |
| 29-Nov-2010 |
Michael J. Spencer <[email protected]> |
Merge System into Support.
llvm-svn: 120297
|
| #
31ee8bfb |
| 24-Nov-2010 |
Francois Pichet <[email protected]> |
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.
llvm-svn: 120079
|
| #
5ea7d07d |
| 23-Nov-2010 |
Chris Lattner <[email protected]> |
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.
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.
llvm-svn: 120066
show more ...
|
| #
f77e11ba |
| 23-Nov-2010 |
Chris Lattner <[email protected]> |
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.
llvm-svn: 120062
|
| #
dd278430 |
| 23-Nov-2010 |
Chris Lattner <[email protected]> |
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.
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.
llvm-svn: 120060
show more ...
|
| #
ea61b32c |
| 23-Nov-2010 |
Chris Lattner <[email protected]> |
replicate a terrible hack to fix a build error on VC++
llvm-svn: 120039
|
| #
8f0583da |
| 23-Nov-2010 |
Chris Lattner <[email protected]> |
simplify the cache miss handling code, eliminating CacheMissing.
llvm-svn: 120038
|
| #
b3c81453 |
| 23-Nov-2010 |
Chris Lattner <[email protected]> |
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
|
| #
2a6fa47b |
| 23-Nov-2010 |
Chris Lattner <[email protected]> |
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
|
| #
226efd35 |
| 23-Nov-2010 |
Chris Lattner <[email protected]> |
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
|