[PATCH] D34547: Add a ThinLTO cache policy for controlling the maximum cache size in bytes.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 18:57:31 PDT 2017


pcc created this revision.
Herald added subscribers: hiraditya, eraman, inglorion, emaste.

This is useful when an upper limit on the cache size needs to be
controlled independently of the amount of the amount of free space.

One use case is a machine with a large number of cache directories
(e.g. a buildbot slave hosting a large number of independent build
jobs). By imposing an upper size limit on each cache directory,
users can more easily estimate the server's capacity.


https://reviews.llvm.org/D34547

Files:
  clang/docs/ThinLTO.rst
  lld/test/ELF/lto/cache.ll
  llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
  llvm/include/llvm/Support/CachePruning.h
  llvm/lib/Support/CachePruning.cpp
  llvm/unittests/Support/CachePruningTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34547.103683.patch
Type: text/x-patch
Size: 10676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170623/9b6af34d/attachment.bin>


More information about the llvm-commits mailing list