[PATCH] D51062: [Support][CachePruning] prune least recently accessed files first

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 21 17:36:53 PDT 2018


rnk accepted this revision.
rnk added a comment.

lgtm



================
Comment at: llvm/test/ThinLTO/X86/cache.ll:109
+; Only 8B and 76B files should stay after pruning.
+; RUN: "%python" -c "with open(r'%t.cache/llvmcache-foo-100k', 'w') as file: file.truncate(102400)"
+; RUN: touch -t 198002011200 %t.cache/llvmcache-foo-100k
----------------
Woah.


https://reviews.llvm.org/D51062





More information about the llvm-commits mailing list