https://github.com/da-viper created https://github.com/llvm/llvm-project/pull/177977
threading.current_thread is a function >From dd3aee6c0799865b4b146636835bf6d16ebfe815 Mon Sep 17 00:00:00 2001 From: Ebuka Ezike <[email protected]> Date: Mon, 26 Jan 2026 15:26:29 +0000 Subject: [PATCH] [lldb-dap] Fix assertion on the recv thread. threading.current_thread is a function --- .../packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py b/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py index d1b91f06f84aa..063c88c017c02 100644 --- a/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py +++ b/lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py @@ -429,7 +429,7 @@ def _recv_packet( otherwise None. """ assert ( - threading.current_thread != self._recv_thread + threading.current_thread() != self._recv_thread ), "Must not be called from the _recv_thread" def process_until_match(): _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
