[llvm-bugs] [Bug 38618] New: cache pruning policy does not consider temporary files

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 17 13:21:19 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38618

            Bug ID: 38618
           Summary: cache pruning policy does not consider temporary files
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Support Libraries
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm at inglorion.net
                CC: llvm-bugs at lists.llvm.org

CachePruning.cpp only considers files with names that start in "llvmcache-", as
a safeguard against deleting user-created files.

LTO/Caching.cpp creates files with names that start in "Thin-".

The combination of those things has the effect that temporary files are not
considered when pruning the cache. This can lead to the somewhat surprising and
undesirable situation where the cache is not pruned, even though it exceeds the
maximum size set by the policy.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180817/0b9f8a36/attachment.html>


More information about the llvm-bugs mailing list