[llvm] [Cygwin] Cygwin general (PR #74944)

εΎζŒζ’ Xu Chiheng via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 18 05:40:00 PST 2023


xu-chiheng wrote:

> @xu-chiheng let's know your actual issues and what you wanted to resolve.
Just to remove the kludge below and beautify code.
-#if defined(__CYGWIN__)
-  // Don't try to map files that are exactly a multiple of the physical page size
-  // if we need a null terminator.
-  // FIXME: We should reorganize again getPageSize() on Win32.
-  if ((FileSize & (4096 - 1)) == 0)
-    return false;
-#endif
-


https://github.com/llvm/llvm-project/pull/74944


More information about the llvm-commits mailing list