diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2023-05-10 10:41:16 -0700 |
---|---|---|
committer | Jan Svoboda <jan_svoboda@apple.com> | 2023-05-10 10:41:33 -0700 |
commit | 63eb04a3683996db26dbf1534682c5696d93b080 (patch) | |
tree | 35ae1a8e39c02d20c65a99f9182010908e2e0576 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h | |
parent | 1a855819a87f426bdbd83c815fa47ca01fdf928f (diff) | |
download | llvm-63eb04a3683996db26dbf1534682c5696d93b080.zip llvm-63eb04a3683996db26dbf1534682c5696d93b080.tar.gz llvm-63eb04a3683996db26dbf1534682c5696d93b080.tar.bz2 |
[clang][modules] Avoid unnecessary writes of .timestamp files
Clang currently updates the mtime of .timestamp files on each load of the corresponding .pcm file. This is not necessary. In a given build session, Clang only needs to write the .timestamp file once, when we first validate the input files. This patch makes it so that we only touch the .timestamp file when it's older than the build session, alleviating some filesystem contention in clang-scan-deps.
Reviewed By: benlangmuir
Differential Revision: https://reviews.llvm.org/D149802
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions