llvm-project/clang/lib
Volodymyr Sapsai 83f4c3af02 [modules] Do not cache invalid state for modules that we attempted to load.
Partially reverts 0a2be46cfd as it turned
out to cause redundant module rebuilds in multi-process incremental builds.
When a module was getting out of date, all compilation processes started at the
same time were marking it as `ToBuild`. So each process was building the same
module instead of checking if it was built by someone else and using that
result. In addition to the work duplication, contention on the same .pcm file
wasn't making builds faster.

Note that for a single-process build this change would cause redundant module
reads and validations. But reading a module is faster than building it and
multi-process builds are more common than single-process. So I'm willing to
make such a trade-off.

rdar://problem/54395127

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D72860
2020-01-16 17:12:41 -08:00
..
ARCMigrate Fix "pointer is null" static analyzer warning. NFCI. 2020-01-10 17:21:20 +00:00
AST [Concepts] Fix ConceptSpecializationExpr profiling crash 2020-01-16 13:39:30 +02:00
ASTMatchers Revert "[ASTMatchers] extract public matchers from const-analysis into own patch" 2020-01-11 19:41:27 +01:00
Analysis [CFG] Fix an assertion failure with static initializers 2019-12-23 16:35:37 -08:00
Basic Make LLVM_APPEND_VC_REV=OFF affect clang, lld, and lldb as well. 2020-01-16 19:04:08 -05:00
CodeGen [OPENMP]Do not emit RTTI descriptor for NVPTX devices. 2020-01-16 18:12:50 -05:00
CrossTU [CrossTU] Fix problem with CrossTU AST load limit and progress messages. 2019-08-12 07:15:29 +00:00
DirectoryWatcher [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
Driver [Hexagon] Remove unnecessary case in StringSwitch, NFC 2020-01-16 10:00:57 -06:00
Edit [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
Format [clang-format] fix conflict between FormatStyle::BWACS_MultiLine and BeforeCatch/BeforeElse 2020-01-06 09:21:41 -05:00
Frontend [DebugInfo] Add another level to DebugInfoKind called Constructor 2020-01-13 15:59:03 -08:00
FrontendTool [analyzer] Don't run the analyzer for -analyzer-list-enabled-checkers 2019-09-12 18:53:48 +00:00
Headers [SystemZ] Avoid unnecessary conversions in vecintrin.h 2020-01-16 18:58:14 +01:00
Index [Wdocumentation] Implement \anchor 2019-12-21 14:52:21 +01:00
Lex [Lexer] Allow UCN for dollar symbol '\u0024' in identifiers when using -fdollars-in-identifiers flag. 2020-01-15 11:28:57 +00:00
Parse PR42694 Support explicit(bool) in older language modes as an extension. 2020-01-15 18:38:23 -08:00
Rewrite [Rewrite][NFC] Add FIXMEs and tests for RemoveLineIfEmpty bug 2019-08-15 21:17:48 +00:00
Sema [Hexagon] Update autogenerated intrinsic info in clang 2020-01-16 14:20:12 -06:00
Serialization [modules] Do not cache invalid state for modules that we attempted to load. 2020-01-16 17:12:41 -08:00
StaticAnalyzer [analyzer] Fix SARIF column locations 2020-01-14 15:38:30 -05:00
Tooling Remove trailing `;`. NFC. 2020-01-14 16:52:20 -05:00
CMakeLists.txt Reland [clang] DirectoryWatcher 2019-07-12 20:34:10 +00:00