aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineLoopUtils.cpp
diff options
context:
space:
mode:
authorIgor Kudrin <ikudrin@accesssoftek.com>2019-12-10 21:44:17 +0700
committerIgor Kudrin <ikudrin@accesssoftek.com>2019-12-11 12:44:55 +0700
commit3a713ae5fa64a0b2043bd6748b87d4ba7f7c2fce (patch)
tree5ca00891d4d6e7e2449162925e0be9140333a55f /llvm/lib/CodeGen/MachineLoopUtils.cpp
parentf7235ac1d3154d5cd82a9a6bfdfffd050e6f5d05 (diff)
downloadllvm-3a713ae5fa64a0b2043bd6748b87d4ba7f7c2fce.zip
llvm-3a713ae5fa64a0b2043bd6748b87d4ba7f7c2fce.tar.gz
llvm-3a713ae5fa64a0b2043bd6748b87d4ba7f7c2fce.tar.bz2
[SanitizerCommon] Reduce wasting memory in LowLevelAllocator.
MmapOrDie allocates memory multiple to page size. LowLevelAllocator should use all that memory for the internal buffer because there are chances that subsequent requests may be small enough to fit in that space. Differential Revision: https://reviews.llvm.org/D71275
Diffstat (limited to 'llvm/lib/CodeGen/MachineLoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions