[XRay][compiler-rt] Remove MAP_NORESERVE from XRay allocations
authorDean Michael Berris <dberris@google.com>
Thu, 16 Aug 2018 12:19:03 +0000 (12:19 +0000)
committerDean Michael Berris <dberris@google.com>
Thu, 16 Aug 2018 12:19:03 +0000 (12:19 +0000)
commit560c7338159a8b78ef2e58b73389714c5b859347
treeb227e3a85d62e3b2f41c58ee4590e365bc5bce4c
parent0e2f0bd48ec94268397892bb5688cd8534f9e538
[XRay][compiler-rt] Remove MAP_NORESERVE from XRay allocations

Summary:
This reverses an earlier decision to allow seg-faulting from the
XRay-allocated memory if it turns out that the system cannot provide
physical memory backing that cannot be swapped in/out on Linux.

This addresses http://llvm.org/PR38588.

Reviewers: eizan

Reviewed By: eizan

Subscribers: llvm-commits

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

llvm-svn: 339869
compiler-rt/lib/xray/xray_allocator.h
compiler-rt/lib/xray/xray_buffer_queue.cc