================
@@ -4905,6 +4905,10 @@ ASTFileSignature ASTWriter::WriteAST(Sema &SemaRef, 
StringRef OutputFile,
   this->BaseDirectory.clear();
 
   WritingAST = false;
+
+  if (WritingModule)
+    updateModuleTimestamp(OutputFile);
----------------
jansvoboda11 wrote:

Calling this here is a bit annoying, since it will create timestamp files even 
for explicitly-built PCM files. I might move it somewhere into 
`CompilerInstance` where it specifically handle implicit builds. That will 
increase the delay between accessing the input files and writing the timestamp 
file. What do people think about that?

https://github.com/llvm/llvm-project/pull/112452
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to