aprantl added a comment.

@bruno: When we last discussed this my plan was to avoid the stat() in 
lookupModuleFile() for files that were just added to the PCMCache by WriteAST() 
entirely, but ModuleManager::Modules is a DenseMap<FileEntry, ModuleFile *> and 
lookupModuleFile() is the easiest way to create a new FileEntry. It would be 
nice to find a way to avoid the stat() for a file that we just wrote, but it 
wasn't immediately obvious to me how to do that.


Repository:
  rL LLVM

https://reviews.llvm.org/D50870



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to