[Lldb-commits] [lldb] [lldb] Broadcast `eBroadcastBitStackChanged` when frame providers change (PR #171482)

via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 5 09:09:21 PST 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/TestScriptedFrameProvider.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
--- TestScriptedFrameProvider.py	2026-02-05 17:06:55.000000 +0000
+++ TestScriptedFrameProvider.py	2026-02-05 17:08:42.361100 +0000
@@ -1176,11 +1176,13 @@
         target.RegisterScriptedFrameProvider(
             "test_frame_providers.ReplaceFrameProvider",
             lldb.SBStructuredData(),
             error,
         )
-        collect_stack_changed_thread_ids(len(expected_thread_ids))  # Consume registration
+        collect_stack_changed_thread_ids(
+            len(expected_thread_ids)
+        )  # Consume registration
 
         self.runCmd("target frame-provider clear")
         self.assertEqual(
             collect_stack_changed_thread_ids(len(expected_thread_ids)),
             expected_thread_ids,

``````````

</details>


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


More information about the lldb-commits mailing list