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.
Paths
| Differential D43396
[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.
Diff Detail
Event Timelinetejohnson added a child revision: D43400: [LTO] Remove unused Path parameter to AddBufferFn.Feb 16 2018, 11:25 AM This revision is now accepted and ready to land.Feb 16 2018, 1:00 PM Closed by commit rL325618: [ThinLTO/gold] Avoid race with cache pruner by copying to temp files (authored by tejohnson). · Explain WhyFeb 20 2018, 11:55 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 135118 llvm/trunk/test/tools/gold/X86/cache.ll
llvm/trunk/tools/gold/gold-plugin.cpp
|