This is an archive of the discontinued LLVM Phabricator instance.

[ThinLTO/gold] Avoid race with cache pruner by copying to temp files
ClosedPublic

Authored by tejohnson on Feb 16 2018, 10:36 AM.

Details

Summary

This will avoid the race condition described in the review for D37993.

I believe that the Path parameter to AddBufferFn is no longer utilized.
I would prefer to remove that as a follow up clean up patch to reduce
the diffs in this patch.

Diff Detail

Repository
rL LLVM

Event Timeline

tejohnson created this revision.Feb 16 2018, 10:36 AM
pcc accepted this revision.Feb 16 2018, 1:00 PM

LGTM

This revision is now accepted and ready to land.Feb 16 2018, 1:00 PM
This revision was automatically updated to reflect the committed changes.