]> granicus.if.org Git - clang/commit
Add a ThinLTO cache policy for controlling the maximum cache size in bytes.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 23 Jun 2017 17:05:03 +0000 (17:05 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 23 Jun 2017 17:05:03 +0000 (17:05 +0000)
commit99621ffe51bf9d86beef725bbbadfaf1507ecff1
treef3687a3b009c584f4cf70392a8457a3db56c7822
parent24989b18385b3b168ef7dcc866f3edc239ccae7f
Add a ThinLTO cache policy for controlling the maximum cache size in bytes.

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.

Differential Revision: https://reviews.llvm.org/D34547

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306126 91177308-0d34-0410-b5e6-96231b3b80d8
docs/ThinLTO.rst