diff options
author | Daniel Thornburgh <dthorn@google.com> | 2024-07-25 11:23:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-25 11:23:38 -0700 |
commit | 3c210740649a538d2fc2432395f2ef41c56dc8b6 (patch) | |
tree | a43df765bb441c3a5aaa77a91d0b2331c4838d09 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
parent | b365dbbd8dcc8cd3732995dd95b380f77b3337e3 (diff) | |
download | llvm-3c210740649a538d2fc2432395f2ef41c56dc8b6.zip llvm-3c210740649a538d2fc2432395f2ef41c56dc8b6.tar.gz llvm-3c210740649a538d2fc2432395f2ef41c56dc8b6.tar.bz2 |
[NFC][libc][malloc] Refactor Block (#100445)
This decreases the surface area of the block implementation in
preparation for deeper changes to its implementation.
See #98096
- Remove dead member functions.
- Remove last() check from next(), as described in its comment.
- Rework object lifetimes such that only block headers are actually
considered live. This simplifies their implementation.
- The allocated storage becomes live at the outer call to malloc-family
functions via a special case in the C++ standard.
- Add asserts for flag properties required by the implementation.
- Remove static from member functions that don't invalidate the block.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions