aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.cpp
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2026-09-25 15:16:12 +0000
committerMark Johnston <markj@FreeBSD.org>2026-09-25 16:50:41 +0000
commitde6ee1fde8bbcc3dde643ae9f2122c8e2499fe29 (patch)
tree442de136f96c6302faa9130659c97ac66b49af30 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.cpp
parentd80c01bfb26612bf036b8ed7f7bfd5cc04d949f3 (diff)
jail: Simplify refcount manipulation routines
- refcount_acquire() returns the old value, use that to assert that the old value was non-zero. - refcount_release() already asserts that the refcount value is non-zero, so don't bother asserting that again in the jail code. - Use __diagused instead of having separate implementations for INVARIANTS and !INVARIANTS. No functional change intended. Reviewed by: jamie MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D59983
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedThreadPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions