Improve the reliability of file renaming in Windows by having the compiler retry
authorSunil Srivastava <sunil_srivastava@playstation.sony.com>
Fri, 25 Mar 2016 23:41:28 +0000 (23:41 +0000)
committerSunil Srivastava <sunil_srivastava@playstation.sony.com>
Fri, 25 Mar 2016 23:41:28 +0000 (23:41 +0000)
commit34fce9377ed64f679f3912d0e8a20cabb5d1e978
treef14e05b396c92d59f961faefd6717431653f0c4b
parent65fd8f4345e841bcbe68c53b2f808eb53e4bf24e
Improve the reliability of file renaming in Windows by having the compiler retry
the rename operation on 3 error conditions of ReplaceFileW() that it was
previously bailing out on.

Patch by Douglas Yung!

Differential Revision: http://reviews.llvm.org/D17903

llvm-svn: 264477
llvm/lib/Support/Windows/Path.inc