llvm/clang/lib/Serialization
Adam Czachorowski 8f4ea36bfe [clang] Improve laziness of resolving module map headers.
clang has support for lazy headers in module maps - if size and/or
modtime and provided in the cppmap file, headers are only resolved when
an include directive for a file with that size/modtime is encoutered.

Before this change, the lazy resolution was all-or-nothing per module.
That means as soon as even one file in that module potentially matched
an include, all lazy files in that module were resolved. With this
change, only files with matching size/modtime will be resolved.

The goal is to avoid unnecessary stat() calls on non-included files,
which is especially valuable on networked file systems, with higher
latency.

Differential Revision: https://reviews.llvm.org/D120569
2022-03-01 15:56:23 +01:00
..
ASTCommon.cpp
ASTCommon.h
ASTReader.cpp [Preprocessor] Reduce the memory overhead of #define directives (Recommit) 2022-02-14 09:27:44 -08:00
ASTReaderDecl.cpp [clang][ASTReader] Fix memory leak while reading FriendTemplateDecls 2022-02-18 12:16:38 +01:00
ASTReaderInternals.h [clang] Remove unused forward declarations (NFC) 2022-01-08 11:56:40 -08:00
ASTReaderStmt.cpp [OpenMP] support depend clause for taskwait directive, by Deepak 2021-11-19 06:30:17 -08:00
ASTWriter.cpp [clang] Improve laziness of resolving module map headers. 2022-03-01 15:56:23 +01:00
ASTWriterDecl.cpp [clang] Allocate 2 bits to store the constexpr specifier kind when serializing 2021-11-17 16:56:46 -05:00
ASTWriterStmt.cpp [OpenMP] support depend clause for taskwait directive, by Deepak 2021-11-19 06:30:17 -08:00
CMakeLists.txt
GeneratePCH.cpp
GlobalModuleIndex.cpp
InMemoryModuleCache.cpp
ModuleFile.cpp
ModuleFileExtension.cpp
ModuleManager.cpp unique_ptrify the ModuleManager's VisitState linked list 2022-01-19 09:57:46 -08:00
MultiOnDiskHashTable.h
PCHContainerOperations.cpp