[PATCH] D49860: [dsymutil] Simplify temporary file handling.

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 26 08:44:21 PDT 2018


JDevlieghere added inline comments.


================
Comment at: llvm/lib/Support/Path.cpp:1163
+    RenameEC = sys::fs::copy_file(TmpName, Name);
+    // If we can't rename or copy, discard the temporary file.
+    if (RenameEC)
----------------
Should we have something similar for Windows?


Repository:
  rL LLVM

https://reviews.llvm.org/D49860





More information about the llvm-commits mailing list