[PATCH] D61326: Fixes for builds that require strict X/Open and POSIX compatiblity

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 1 22:56:50 PDT 2019


MaskRay added inline comments.


================
Comment at: llvm/lib/Support/Unix/Memory.inc:110
+  int MMFlags = MAP_PRIVATE 
 #ifdef MAP_ANONYMOUS
+  | MAP_ANONYMOUS
----------------
MaskRay wrote:
> I think you can just keep `MAP_ANON` and remove `MAP_ANONYMOUS`. Though marked as deprecated in Linux manpages, it is most widely used. It is also used by compiler-rt.
You may need to rebase. I've deleted MAP_ANONYMOUS.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D61326





More information about the llvm-commits mailing list