diff options
author | Qiongsi Wu <qiongsiwu@gmail.com> | 2025-08-06 15:39:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-06 15:39:37 -0700 |
commit | 09dbdf651470bb4c9e5b81986a47f7c495285fbe (patch) | |
tree | b4cfd19c9195ccf3e167a0df56f53f223bf6fbff /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | b296ea9c14af60f9b4faa26a39ecc52c1762c794 (diff) | |
download | llvm-09dbdf651470bb4c9e5b81986a47f7c495285fbe.zip llvm-09dbdf651470bb4c9e5b81986a47f7c495285fbe.tar.gz llvm-09dbdf651470bb4c9e5b81986a47f7c495285fbe.tar.bz2 |
[clang][Dependency Scanning] Move Module Timestamp Update After Compilation Finishes (#151774)
When two threads are accessing the same `pcm`, it is possible that the
reading thread sees the timestamp update, while the file on disk is not
updated.
This PR moves timestamp update from `writeAST` to
`compileModuleAndReadASTImpl`, so we only update the timestamp after the
file has been committed to disk.
rdar://152097193
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions