--- a/llvm/lib/Support/Unix/Path.inc	2022-01-08 15:15:44.000000000 +0000
+++ b/llvm/lib/Support/Unix/Path.inc	2022-01-08 15:16:07.000000000 +0000
@@ -1458,6 +1458,7 @@
 std::error_code copy_file(const Twine &From, const Twine &To) {
   std::string FromS = From.str();
   std::string ToS = To.str();
+  /*
 #if __has_builtin(__builtin_available)
   if (__builtin_available(macos 10.12, *)) {
     // Optimistically try to use clonefile() and handle errors, rather than
@@ -1486,6 +1487,7 @@
     // cheaper.
   }
 #endif
+  */
   if (!copyfile(FromS.c_str(), ToS.c_str(), /*State=*/NULL, COPYFILE_DATA))
     return std::error_code();
   return std::error_code(errno, std::generic_category());
