This is an archive of the discontinued LLVM Phabricator instance.

[tsan] Use MAP_ANON instead of MAP_ANONYMOUS
ClosedPublic

Authored by kubamracek on Dec 3 2015, 2:45 AM.

Details

Summary

In mmap_large.cc, let's use MAP_ANON instead of MAP_ANONYMOUS, because MAP_ANONYMOUS is only available on OS X 10.11 and later.

Diff Detail

Repository
rL LLVM

Event Timeline

kubamracek updated this revision to Diff 41730.Dec 3 2015, 2:45 AM
kubamracek retitled this revision from to [tsan] Use MAP_ANON instead of MAP_ANONYMOUS.
kubamracek updated this object.
kubamracek added reviewers: dvyukov, samsonov, glider, kcc.
kubamracek added subscribers: llvm-commits, zaks.anna.
dvyukov accepted this revision.Dec 3 2015, 2:47 AM
dvyukov edited edge metadata.
This revision is now accepted and ready to land.Dec 3 2015, 2:47 AM
This revision was automatically updated to reflect the committed changes.