This is an archive of the discontinued LLVM Phabricator instance.

Use TempFile in lto caching
ClosedPublic

Authored by rafael on Nov 14 2017, 10:34 AM.

Details

Reviewers
pcc
mehdi_amini
Summary

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.

Diff Detail

Event Timeline

rafael created this revision.Nov 14 2017, 10:34 AM
mehdi_amini accepted this revision.Nov 14 2017, 8:43 PM

LGTM

lib/Support/Path.cpp
802

No else after return

This revision is now accepted and ready to land.Nov 14 2017, 8:43 PM