summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Support/COM.cpp
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2016-01-21 18:17:19 +0000
committerbrooks <brooks@FreeBSD.org>2016-01-21 18:17:19 +0000
commit782c60a71700572e664e5dfc8f70a6727d616396 (patch)
treeaf44ac3a1bff7ff173cb75ba9104442e7b6966b0 /contrib/llvm/lib/Support/COM.cpp
parent53785e60ff88af45e981416d6636d29e0afe04f6 (diff)
downloadFreeBSD-src-782c60a71700572e664e5dfc8f70a6727d616396.zip
FreeBSD-src-782c60a71700572e664e5dfc8f70a6727d616396.tar.gz
Replace the last non-optional use of sbrk() in the tree with mmap().
All gmon want's is a region of memory without the overhead of malloc(). Just mapping some pages with mmap is an easy way to accomplish this. Approved by: jhb, cem, emaste Obtained from: CheriBSD (bf33e1e70b368ababde74aa3ac70d108c8a52c69) Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D5005
Diffstat (limited to 'contrib/llvm/lib/Support/COM.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud