diff options
author | Jan Svoboda <jan_svoboda@apple.com> | 2025-10-13 13:38:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-13 13:38:38 -0700 |
commit | ce8abef25e242e65e459bcb7d9998a4e85ae03d2 (patch) | |
tree | 0f3b4f3a66115b73b211bf3807d7bbe41640bdfc /llvm/lib/CodeGen/MachinePipeliner.cpp | |
parent | 88928259173ba6fe99b20258fcde512d82b72a46 (diff) | |
download | llvm-ce8abef25e242e65e459bcb7d9998a4e85ae03d2.zip llvm-ce8abef25e242e65e459bcb7d9998a4e85ae03d2.tar.gz llvm-ce8abef25e242e65e459bcb7d9998a4e85ae03d2.tar.bz2 |
[clang][modules] Derive mtime from PCM timestamps, not PCM files (#162965)
#137363 was supposed to be NFC for the `CrossProcessModuleCache` (a.k.a
normal implicit module builds), but accidentally passed the wrong path
to `sys::fs::status`. Then, #141358 removed the correct path that
should've been passed instead. (The variable was flagged as unused.)
None of our existing tests caught this regression, we only found out due
to a SourceKit-LSP benchmark getting slower.
This PR re-implements the original behavior, adds new remark to Clang
for PCM input file validation, and uses it to create more reliable tests
of the `-fmodules-validate-once-per-build-session` flag.
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
0 files changed, 0 insertions, 0 deletions