[PATCH] D27295: Remove existing file in a separate thread asynchronously.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 7 14:16:21 PST 2016


Sean Silva via Phabricator <reviews at reviews.llvm.org> writes:

> silvas added reviewers: joerg, emaste.
> silvas added a comment.
>
> Why are we unlinking at all?

Not sure why we unlink, but we have to create a new file. The reason is
making sure we never expose a partial file in case of a crash or power
failure.

Cheers,
Rafael


More information about the llvm-commits mailing list