[llvm-dev] Experiment on how to improve our temporary file handing.

Rafael Avila de Espindola via llvm-dev llvm-dev at lists.llvm.org
Thu Nov 9 13:53:05 PST 2017


Reid Kleckner <rnk at google.com> writes:

>   // OK, we want to keep this file.
>   disposition.DeleteFile = FALSE;
>   if (!SetFileInformationByHandle(h, FileDispositionInfo, &disposition,
>                                   sizeof(disposition)))
>     error("SetFileInformationByHandle");

Nice!

That seems to be the part I was missing. That motivates me to finish the
implementation. Having perfect output file handling on windows is going
to be useful for us and might hopefully put some pressure on posix
vendors to make it possible :-)

Cheers,
Rafael


More information about the llvm-dev mailing list