aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/ErrorTest.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2024-02-17 11:37:26 -0800
committerGitHub <noreply@github.com>2024-02-17 11:37:26 -0800
commit27f2908fbc8092f3567385a63676d623523b318b (patch)
treed03a05cec5870c36bbf8dd1a391e6a4fa0ddbcea /llvm/unittests/Support/ErrorTest.cpp
parentd5167c84f9eddf6a37c667d4673bf694dfd8be37 (diff)
downloadllvm-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