[all-commits] [llvm/llvm-project] 75c6f4: [clang] Introduce `ModuleCache::write()` (#188877)
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Wed Apr 1 13:01:09 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 75c6f4791c8c1031e5ab170a9987c4d300026e1e
https://github.com/llvm/llvm-project/commit/75c6f4791c8c1031e5ab170a9987c4d300026e1e
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2026-04-01 (Wed, 01 Apr 2026)
Changed paths:
M clang/include/clang/Basic/DiagnosticCommonKinds.td
M clang/include/clang/Frontend/CompilerInstance.h
M clang/include/clang/Frontend/FrontendActions.h
M clang/include/clang/Serialization/ModuleCache.h
M clang/lib/DependencyScanning/InProcessModuleCache.cpp
M clang/lib/Frontend/CompilerInstance.cpp
M clang/lib/Frontend/FrontendActions.cpp
M clang/lib/Serialization/ModuleCache.cpp
Log Message:
-----------
[clang] Introduce `ModuleCache::write()` (#188877)
This introduces new `ModuleCache` interface for writing PCM files.
Together with #188876, this will enable adding a caching layer into the
`InProcessModuleCache` implementation, hopefully reducing IO cost.
Moreover, this makes it super explicit that the PCM is written before
its timestamp, which is an important invariant that we've broken before.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list