diff options
author | Daniel Thornburgh <dthorn@google.com> | 2024-07-23 15:56:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-23 15:56:24 -0700 |
commit | 25f0381ba128e012e494701286450a374bf366a8 (patch) | |
tree | 8b469c95188415d332687dddedbe0763d3a69e8e /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces | |
parent | fb55db5482dd5bee1c8d78cc1b0ddd9517e97e17 (diff) | |
download | llvm-25f0381ba128e012e494701286450a374bf366a8.zip llvm-25f0381ba128e012e494701286450a374bf366a8.tar.gz llvm-25f0381ba128e012e494701286450a374bf366a8.tar.bz2 |
[libc][malloc] Reduce block overhead by 4 bytes plus alignment effects (#99945)
The unused padding and alignment fields were removed. The used and last
bits were stashed into the lower two bits of the next chunk offset.
(This is a very typical trick for Knuth boundary tags.) The chunk
offsets were recast as counting bytes rather than multiples of the
alignment. To ensure that the lowest two bits are not significant, the
minimum alignment was bumped to 4. This shouldn't affect anything in
practice, since alignof(max_align_t) is overwhelmingly likely to be 8.
See #98096
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces')
0 files changed, 0 insertions, 0 deletions