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

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 2 11:41:52 PST 2021


phosek added inline comments.


================
Comment at: llvm/tools/llvm-cov/CodeCoverage.cpp:165
+  // File status cache used when finding the same file.
+  std::unordered_map<std::string, Optional<sys::fs::file_status>>
+      FileStatusCache;
----------------
`StringMap` is more efficient.


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