HomePhabricator

[Sanitizers] The MAP_NORESERVE define has been removed in FreeBSD 11.x,

Description

[Sanitizers] The MAP_NORESERVE define has been removed in FreeBSD 11.x,
and even before that, it was never implemented. Just define it to zero
instead, so compiler-rt can compile on FreeBSD 11 and later.

Differential Revision: http://reviews.llvm.org/D7485

Details

Committed
dimFeb 11 2015, 11:48 AM
Differential Revision
D7485: Define MAP_NORESERVE to zero for FreeBSD
Branches
Unknown
Tags
Unknown