[PATCH] D31109: Support, LTO: Error out when pruning a directory containing files not matching a prefix.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 17 16:27:03 PDT 2017


pcc created this revision.

This is a safeguard against data loss if the user specifies a directory
that is not a cache directory. Teach the existing cache pruning clients
to create files with appropriate names.


https://reviews.llvm.org/D31109

Files:
  lld/ELF/LTO.cpp
  lld/test/ELF/lto/cache.ll
  llvm/include/llvm/Support/CachePruning.h
  llvm/lib/LTO/Caching.cpp
  llvm/lib/LTO/ThinLTOCodeGenerator.cpp
  llvm/lib/Support/CachePruning.cpp
  llvm/test/ThinLTO/X86/cache.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31109.92223.patch
Type: text/x-patch
Size: 8099 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170317/b3c83ac4/attachment-0001.bin>


More information about the llvm-commits mailing list