[Lldb-commits] [lldb] [lldb] Adopt Policy for private state thread identification (PR #195765)

via lldb-commits lldb-commits at lists.llvm.org
Mon May 4 17:53:52 PDT 2026


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 origin/main...HEAD lldb/test/API/functionalities/scripted_frame_provider/runlock_reentrant_deadlock/TestRunLockReentrantDeadlock.py lldb/test/API/functionalities/scripted_frame_provider/runlock_reentrant_deadlock/bkpt_resolver.py lldb/test/API/functionalities/scripted_frame_provider/runlock_reentrant_deadlock/frame_provider.py
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- TestRunLockReentrantDeadlock.py	2026-05-05 00:52:04.000000 +0000
+++ TestRunLockReentrantDeadlock.py	2026-05-05 00:53:12.873627 +0000
@@ -35,13 +35,11 @@
         get_frame_at_index does not deadlock with the override PST's
         SetStopped when another thread triggers EvaluateExpression.
         """
         self.build()
 
-        target, process, thread, _ = lldbutil.run_to_name_breakpoint(
-            self, "main"
-        )
+        target, process, thread, _ = lldbutil.run_to_name_breakpoint(self, "main")
 
         resolver_path = os.path.join(self.getSourceDir(), "bkpt_resolver.py")
         provider_path = os.path.join(self.getSourceDir(), "frame_provider.py")
         self.runCmd("command script import " + resolver_path)
         self.runCmd("command script import " + provider_path)

``````````

</details>


https://github.com/llvm/llvm-project/pull/195765


More information about the lldb-commits mailing list