[PATCH] D51992: [ThinLTO]Expose cache entry expiration time option in llvm-lto and fix a test

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 17 00:57:13 PDT 2018


jhenderson added a comment.

In https://reviews.llvm.org/D51992#1235574, @inglorion wrote:

> Thanks! For the case where you don't want the files to expire, can you instead set the expiration age to 0? That should stop the pruner from removing them.


Unfortunately, it's not possible to disable expiration age explicitly using llvm-lto. The interface it uses ignores attempts to set any of the cache options to 0, thus making it impossible to disable them completely if they are already set (and the expiration age is set by default). I don't know why the interface is this way, but it was a deliberate decision made some time ago.


Repository:
  rL LLVM

https://reviews.llvm.org/D51992





More information about the llvm-commits mailing list