#
8d5609b6 |
| 14-Jul-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Pass StringRefs by value.
llvm-svn: 108375
|
Revision tags: llvmorg-2.7.0 |
|
#
551446b3 |
| 18-Dec-2009 |
John Thompson <John.Thompson.JTSoftware@gmail.com> |
Removing trailing directory separator, to make stat work
llvm-svn: 91684
|
#
2f1a6c11 |
| 11-Dec-2009 |
Daniel Dunbar <daniel@zuster.org> |
FileManager: Do not cache failed stats, it is easy to construct common inconsistent situations if we do, and they are not important for PCH performance (which currently only needs the stats to constr
FileManager: Do not cache failed stats, it is easy to construct common inconsistent situations if we do, and they are not important for PCH performance (which currently only needs the stats to construct the initial FileManager entries). - No test case, sorry, the machinations are too involved.
This occurs when, for example, the build makes a PCH file and has a header map or a -I for a directory that does not yet exist. It is possible we will cache the negative stat on that directory, and then in the build we will never find header files inside that dir.
For PCH we don't need these stats anyway for performance, so this also makes PCH files smaller w/ no loss. I hope to eventually eliminate the stat cache entirely.
llvm-svn: 91082
show more ...
|
#
407e2124 |
| 02-Dec-2009 |
Douglas Gregor <dgregor@apple.com> |
Extend -remap-file=from;to to permit mapping from a non-existent file. This is accomplished by introducing the notion of a "virtual" file into the file manager, which provides a FileEntry* for a name
Extend -remap-file=from;to to permit mapping from a non-existent file. This is accomplished by introducing the notion of a "virtual" file into the file manager, which provides a FileEntry* for a named file whose size and modification time are known but which may not exist on disk.
Added a cute little test that remaps both a .c file and a .h file it includes to alternative files.
llvm-svn: 90329
show more ...
|
Revision tags: llvmorg-2.6.0 |
|
#
d2eb58ab |
| 16-Oct-2009 |
Douglas Gregor <dgregor@apple.com> |
Add support for a chain of stat caches in the FileManager, rather than only supporting a single stat cache. The immediate benefit of this change is that we can now generate a PCH/AST file when includ
Add support for a chain of stat caches in the FileManager, rather than only supporting a single stat cache. The immediate benefit of this change is that we can now generate a PCH/AST file when including another PCH file; in the future, the chain of stat caches will likely be useful with multiple levels of PCH files.
llvm-svn: 84263
show more ...
|
#
01ce06fb |
| 18-Sep-2009 |
Chris Lattner <sabre@nondot.org> |
don't stick an uninitialized 'stat' buf into the stat cache, fill it with zeros. This avoids a GCC warning (PR5000)
llvm-svn: 82194
|
#
11289f42 |
| 09-Sep-2009 |
Mike Stump <mrs@apple.com> |
Remove tabs, and whitespace cleanups.
llvm-svn: 81346
|
#
26db6481 |
| 05-Sep-2009 |
Benjamin Kramer <benny.kra@googlemail.com> |
Replace some instances of std::string with StringRefs.
llvm-svn: 81079
|
#
3441b4f7 |
| 23-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
API changes to match llvm ToT.
llvm-svn: 79868
|
#
89b422c1 |
| 23-Aug-2009 |
Benjamin Kramer <benny.kra@googlemail.com> |
Replace cerr with errs().
llvm-svn: 79854
|
#
91f5ff6b |
| 12-Aug-2009 |
Chris Lattner <sabre@nondot.org> |
improve path handling, patch by Baptiste Lepilleur!
llvm-svn: 78824
|
#
c5046832 |
| 27-Apr-2009 |
Douglas Gregor <dgregor@apple.com> |
Implement caching of stat() calls for precompiled headers, which is essentially the same thing we do with pretokenized headers. stat() caching improves performance of the Cocoa-prefixed "Hello, World
Implement caching of stat() calls for precompiled headers, which is essentially the same thing we do with pretokenized headers. stat() caching improves performance of the Cocoa-prefixed "Hello, World" by 45%.
llvm-svn: 70223
show more ...
|
#
48db39dc |
| 22-Apr-2009 |
Douglas Gregor <dgregor@apple.com> |
Remove the serialization code that predates precompiled headers. Future approaches to (de-)serializing ASTs will be based on the PCH infrastructure.
llvm-svn: 69828
|
Revision tags: llvmorg-2.5.0 |
|
#
5d7e2e17 |
| 12-Feb-2009 |
Ted Kremenek <kremenek@apple.com> |
FileManager: - set the 'StatSysCallCache' object using a setter method instead of FileManager's constructor. This allows the cache to be installed after the FileManager object is created. - Add '
FileManager: - set the 'StatSysCallCache' object using a setter method instead of FileManager's constructor. This allows the cache to be installed after the FileManager object is created. - Add 'file mode' to FileEntry (useful for stat caching)
llvm-svn: 64351
show more ...
|
#
882018b8 |
| 12-Feb-2009 |
Chris Lattner <sabre@nondot.org> |
search and replaceo?
llvm-svn: 64348
|
#
c8b740ea |
| 12-Feb-2009 |
Ted Kremenek <kremenek@apple.com> |
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
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
show more ...
|
#
1502b7e2 |
| 28-Jan-2009 |
Ted Kremenek <kremenek@apple.com> |
On Windows use a BumpPtrAllocator for the UniqueFileContainer's StringMap.
llvm-svn: 63162
|
#
bb2f25b4 |
| 28-Jan-2009 |
Ted Kremenek <kremenek@apple.com> |
FileManager: Use a BumpPtrAllocator for the StringMaps DirEntries and FileEntries.
Performance impact (clang -fsyntax-only INPUTS/Cocoa_h.m): non-PTH: 0.4% improvement PTH: 0.8% improvement
llv
FileManager: Use a BumpPtrAllocator for the StringMaps DirEntries and FileEntries.
Performance impact (clang -fsyntax-only INPUTS/Cocoa_h.m): non-PTH: 0.4% improvement PTH: 0.8% improvement
llvm-svn: 63159
show more ...
|
#
5c04bd81 |
| 28-Jan-2009 |
Ted Kremenek <kremenek@apple.com> |
Add a some comments to designate Windows-specific/Unix-specific code. No functionality change.
llvm-svn: 63157
|
Revision tags: llvmorg-2.4.0, llvmorg-2.3.0 |
|
#
7a51313d |
| 15-Mar-2008 |
Chris Lattner <sabre@nondot.org> |
Make a major restructuring of the clang tree: introduce a top-level lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. Th
Make a major restructuring of the clang tree: introduce a top-level lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones.
llvm-svn: 48402
show more ...
|