diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2024-02-17 11:37:26 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-17 11:37:26 -0800 |
commit | 27f2908fbc8092f3567385a63676d623523b318b (patch) | |
tree | d03a05cec5870c36bbf8dd1a391e6a4fa0ddbcea /llvm/unittests/Support/ErrorTest.cpp | |
parent | d5167c84f9eddf6a37c667d4673bf694dfd8be37 (diff) | |
download | llvm-27f2908fbc8092f3567385a63676d623523b318b.zip llvm-27f2908fbc8092f3567385a63676d623523b318b.tar.gz llvm-27f2908fbc8092f3567385a63676d623523b318b.tar.bz2 |
[lldb] Use PyBytes and PyByteArray in Python Data Objects unittest (#82098)
Use a Python Bytes and ByteArray object instead of Integers for
TestOwnedReferences and TestBorrowedReferences. These two tests were
failing when building against Python 3.12 because these Integer objects
had a refcount of 4294967296 (-1). I didn't dig into it, but I suspect
the Python runtime has adopted an optimization to decrease refcounting
traffic for these simple objects.
Diffstat (limited to 'llvm/unittests/Support/ErrorTest.cpp')
0 files changed, 0 insertions, 0 deletions