[Lldb-commits] [lldb] [lldb] Add ability to inspect backing threads with `thread info` (PR #129275)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Feb 28 09:23:04 PST 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r 1b25c0c4da968fe78921ce77736e5baef4db75e3...cd6661b5fb7a9a71352c79740d4b0c0601e61d43 lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestPythonOSPlugin.py 2025-02-28 17:17:39.000000 +0000
+++ TestPythonOSPlugin.py 2025-02-28 17:22:33.315882 +0000
@@ -130,10 +130,11 @@
thread.IsValid(),
"Make sure there is no thread 0x333333333 after we unload the python OS plug-in",
)
tid_regex = re.compile("tid = (0x[0-9a-fA-F]+)")
+
def get_tid_from_thread_info_command(self, thread, use_backing_thread):
interp = self.dbg.GetCommandInterpreter()
result = lldb.SBCommandReturnObject()
backing_thread_arg = ""
``````````
</details>
https://github.com/llvm/llvm-project/pull/129275
More information about the lldb-commits
mailing list