diff options
| author | Christopher Ferris <cferris1000@users.noreply.github.com> | 2025-11-03 14:31:11 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-03 14:31:11 -0800 |
| commit | 0e3612e751381d35a3826a67527845e23bbd22af (patch) | |
| tree | 4ae3d29aed7c7968b4a12aa5ac8b7671a7796c06 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 5d9d89092e0fd34f3ea2ca15c9f30d4c01bb29f3 (diff) | |
| download | llvm-0e3612e751381d35a3826a67527845e23bbd22af.zip llvm-0e3612e751381d35a3826a67527845e23bbd22af.tar.gz llvm-0e3612e751381d35a3826a67527845e23bbd22af.tar.bz2 | |
[scudo] Add config option to modify get usable size behavior (#158710)
Currently, Scudo always returns the exact size allocated when calling
getUsableSize. This can be a performance issue where some programs will
get the usable size and do unnecessary calls to realloc since they think
there isn't enough space in the allocation. By default, usable size will
still return the exact size of the allocation.
Note that if the exact behavior is disabled and MTE is on, then the code
will still give an exact usable size.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
