[PATCH] D97061: [llvm-cov] Cache file status information

Choongwoo Han via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 2 11:41:00 PST 2021


tunz added a comment.

@vsk Updated to use file status cache. It does not change the existing behavior, and performance loss is not huge (only 0.x secs for the 56 secs binary).
I didn't want to modify the LLVMSupport, so implemented the cache and rewrote the equivalent function only for llvm-cov. This still could result different outputs if some file type changes whilst running llvm-cov. But I don't think we need support that case.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97061/new/

https://reviews.llvm.org/D97061



More information about the llvm-commits mailing list