[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:42:14 PDT 2019
MaskRay added inline comments.
================
Comment at: llvm/lib/Support/Unix/Memory.inc:110
+ int MMFlags = MAP_PRIVATE
#ifdef MAP_ANONYMOUS
+ | MAP_ANONYMOUS
----------------
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.
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