diff options
author | Kostya Kortchinsky <kostyak@google.com> | 2019-04-30 14:56:18 +0000 |
---|---|---|
committer | Kostya Kortchinsky <kostyak@google.com> | 2019-04-30 14:56:18 +0000 |
commit | 21c31f5e7b30f3eaf14a2e79b952fb389174065c (patch) | |
tree | 1eec9b12421a0cfb4f84c100bbba2e800856224d /llvm/tools/llvm-objcopy/CopyConfig.cpp | |
parent | 0387bf5269114d2607dda6a53e370d0a3d5e7103 (diff) | |
download | bcm5719-llvm-21c31f5e7b30f3eaf14a2e79b952fb389174065c.tar.gz bcm5719-llvm-21c31f5e7b30f3eaf14a2e79b952fb389174065c.zip |
[scudo][standalone] Add the memory reclaiming mechanism
Summary:
This CL implements the memory reclaiming function `releaseFreeMemoryToOS`
and its associated classes. Most of this code was originally written by
Aleksey for the Primary64 in sanitizer_common, and I made some changes to
be able to implement 32-bit reclaiming as well. The code has be restructured
a bit to accomodate for freelist of batches instead of the freearray used
in the current sanitizer_common code.
Reviewers: eugenis, vitalybuka, morehouse, hctim
Reviewed By: vitalybuka
Subscribers: srhines, mgorny, delcypher, #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D61214
llvm-svn: 359567
Diffstat (limited to 'llvm/tools/llvm-objcopy/CopyConfig.cpp')
0 files changed, 0 insertions, 0 deletions