[PATCH] D31021: ELF: Add cache pruning support.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 15 20:12:19 PDT 2017
pcc added inline comments.
================
Comment at: lld/ELF/LTO.cpp:167
+ pruneCache(Config->ThinLTOCacheDir, Config->ThinLTOCachePolicy);
+
for (unsigned I = 0; I != MaxTasks; ++I) {
----------------
mehdi_amini wrote:
> Not interested in adding a `CachePolicy` on the config and having this at the end of the LTO process?
I thought about doing something like that, but I couldn't see a clean way to do it, as the LTO implementation is supposed to be independent of the type of cache being used.
https://reviews.llvm.org/D31021
More information about the llvm-commits
mailing list