[Support] Don't check MAP_ANONYMOUS, just use MAP_ANON
authorFangrui Song <maskray@google.com>
Thu, 2 May 2019 05:58:09 +0000 (05:58 +0000)
committerFangrui Song <maskray@google.com>
Thu, 2 May 2019 05:58:09 +0000 (05:58 +0000)
commit7d0e8cb1e213eacb091c0731a92f43677c0915e6
tree6921ca22223eea6114217fb4aae42cc8c596bbcc
parent64399da8b824b7bedb7b88ff2a13c79aa853b7f1
[Support] Don't check MAP_ANONYMOUS, just use MAP_ANON

Though being marked "deprecated" by the Linux man-pages project
(MAP_ANON is a synonym of MAP_ANONYMOUS), it is the mostly widely
available macro - many systems that don't provide MAP_ANONYMOUS have
MAP_ANON. MAP_ANON is also used here and there in compiler-rt.

llvm-svn: 359758
llvm/lib/Support/Unix/Memory.inc