summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmStreamer.cpp
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2017-12-14 00:04:30 +0000
committerKuba Mracek <mracek@apple.com>2017-12-14 00:04:30 +0000
commiteb18bc5d2223372544834cc858237b4ebd29101a (patch)
tree1696bef8b314a89481fbbc963089c1643ce28603 /llvm/lib/MC/MCAsmStreamer.cpp
parent34ea06b09e666f7bc61283911d78b7b66b4f9811 (diff)
downloadbcm5719-llvm-eb18bc5d2223372544834cc858237b4ebd29101a.tar.gz
bcm5719-llvm-eb18bc5d2223372544834cc858237b4ebd29101a.zip
[sanitizer] Use MADV_FREE on Darwin/BSD to release pages to the OS
MADV_DONTNEED on Linux actually mark the pages as free to be overwritten with zeroes, but on Darwin and BSD, it's just an advisory flag (the OS cannot discard the content). We should use MADV_FREE on Darwin and BSD. Differential Revision: https://reviews.llvm.org/D40666 llvm-svn: 320659
Diffstat (limited to 'llvm/lib/MC/MCAsmStreamer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud