diff options
author | Lawrence D'Anna <lawrence_danna@apple.com> | 2020-04-07 13:29:58 -0700 |
---|---|---|
committer | Lawrence D'Anna <lawrence_danna@apple.com> | 2020-04-07 13:31:29 -0700 |
commit | c8de17bca658e62bbf8c33eae839e457332e885e (patch) | |
tree | db7476cc394181b9674ddf28f82249361f5c3816 /llvm/lib/CodeGen/MachineDebugify.cpp | |
parent | 0361798dbeb6ead0a79ab7985f02da347fce988e (diff) | |
download | llvm-c8de17bca658e62bbf8c33eae839e457332e885e.zip llvm-c8de17bca658e62bbf8c33eae839e457332e885e.tar.gz llvm-c8de17bca658e62bbf8c33eae839e457332e885e.tar.bz2 |
Fix illegal early call to PyBuffer_Release in swig typemaps
Summary:
The buffer protocol does not allow us to just call PyBuffer_Release
and assume the buffer will still be there. Most things that implement the
buffer protocol will let us get away with that, but not all. We need
to release it at the end of the SWIG wrapper.
Reviewers: labath, jasonmolenda, JDevlieghere, vadimcn
Reviewed By: labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D77480
Diffstat (limited to 'llvm/lib/CodeGen/MachineDebugify.cpp')
0 files changed, 0 insertions, 0 deletions