aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2023-03-14 13:27:32 -0700
committerChristopher Ferris <cferris@google.com>2023-03-15 17:29:19 -0700
commit8aaefa92436cf7f66e107795d8513db1285952ac (patch)
tree714177a4e38c0ca769cb1cf0317ef2d86bce8c63 /llvm/lib/CodeGen/MachineFunction.cpp
parente95d9c92208e659d3e3929b941ff72ec5494b4ec (diff)
downloadllvm-8aaefa92436cf7f66e107795d8513db1285952ac.zip
llvm-8aaefa92436cf7f66e107795d8513db1285952ac.tar.gz
llvm-8aaefa92436cf7f66e107795d8513db1285952ac.tar.bz2
[scudo] Add a method to force release everything.
The force flag to releaseToOSMaybe does not release everything since it is an expensive operation. Modify the release flag to have three states: normal, force, forceall. Force behaves the same as setting Force to true from before this change. Forceall will release everything regardless of how much time it takes, or how much there is to release. In addition, add a new mallopt that will call the release function with the forceall flag set. Reviewed By: Chia-hungDuan Differential Revision: https://reviews.llvm.org/D146106
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions