[PATCH] D116603: [AIX][z/OS][Support] Provide alternate mapped_file_region::dontNeedImpl implementations

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 4 08:56:44 PST 2022


aganea added inline comments.


================
Comment at: llvm/lib/Support/Unix/Path.inc:875
   assert(Mode == mapped_file_region::readonly);
   if (Mapping)
+#if defined(__MVS__)
----------------
Shouldn't we protect the contents of this function with `#ifdef HAVE_SYS_MMAN_H`?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116603/new/

https://reviews.llvm.org/D116603



More information about the llvm-commits mailing list