[Xray] Fix allocator build, MAP_NORESERVE flag is not always supported
authorDavid Carlier <devnexen@gmail.com>
Thu, 19 Jul 2018 05:08:59 +0000 (05:08 +0000)
committerDavid Carlier <devnexen@gmail.com>
Thu, 19 Jul 2018 05:08:59 +0000 (05:08 +0000)
commitcfc1d1d46e75aa2888ba031be2e7c8267f016587
treec59a5c554d261e88e6007030b1b441bca5c39248
parentd855928ec37e26e98813046d2eb8062ab18cc40c
[Xray] Fix allocator build, MAP_NORESERVE flag is not always supported

MAP_NORESERVE is not supported or a no-op on BSD.

Reviewers: dberris

Reviewed By: dberris

Differential Revision: https://reviews.llvm.org/D49494

llvm-svn: 337440
compiler-rt/lib/xray/xray_allocator.h