[llvm-branch-commits] [lldb] [lldb] Add extended variable support to Get*VariableList. (PR #181501)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Feb 14 11:03:58 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 lldb/test/API/functionalities/scripted_frame_provider/test_frame_providers.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
--- test_frame_providers.py	2026-02-14 19:02:03.000000 +0000
+++ test_frame_providers.py	2026-02-14 19:03:31.629394 +0000
@@ -499,11 +499,13 @@
     def get_variables(self):
         """"""
         out = lldb.SBValueList()
         out.Append(self.variable)
         # Produce a fake value to be displayed.
-        out.Append(self.variable.CreateValueFromExpression("_handler_one", "(uint32_t)1"))
+        out.Append(
+            self.variable.CreateValueFromExpression("_handler_one", "(uint32_t)1")
+        )
         return out
 
     def get_value_for_variable_expression(self, expr, options, error: lldb.SBError):
         out = lldb.SBValue()
         if expr == "_handler_one":

``````````

</details>


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


More information about the llvm-branch-commits mailing list