[PATCH] D40041: Use TempFile in lto caching

Rafael Ávila de Espíndola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 10:36:49 PST 2017


rafael created this revision.
Herald added subscribers: inglorion, mehdi_amini.

This requires a small change to TempFile: allowing a discard after a failed keep.

With this the cache now handles signals and reuses a fd instead of reopening the file.


https://reviews.llvm.org/D40041

Files:
  lib/LTO/Caching.cpp
  lib/Support/Path.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40041.122871.patch
Type: text/x-patch
Size: 5892 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171114/0456c6ab/attachment.bin>


More information about the llvm-commits mailing list