[llvm-branch-commits] [llvm] [Dexter] Allow fetching "scopes" from the debugger (PR #202802)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jun 16 07:16:16 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 cross-project-tests/debuginfo-tests/dexter/dex/debugger/DAP.py cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerBase.py cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/ScriptDebuggerController.py cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/dbgeng.py cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py cross-project-tests/debuginfo-tests/dexter/dex/dextIR/StepIR.py cross-project-tests/debuginfo-tests/dexter/dex/evaluation/StateMatch.py cross-project-tests/debuginfo-tests/dexter/dex/test_script/Nodes.py cross-project-tests/debuginfo-tests/dexter/dex/test_script/Script.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_script/Nodes.py 2026-06-16 14:10:43.000000 +0000
+++ test_script/Nodes.py 2026-06-16 14:14:29.391967 +0000
@@ -197,10 +197,11 @@
This node is not directly evaluated; it must have no expected values, and when Dexter rewrites the original script,
this node will be replaced with !value nodes for each variable that was seen in its scope inserted under !and nodes
that cover that variable's live range(s).
"""
+
def __init__(self, scope_name: str):
self.scope_name = scope_name
def __repr__(self):
return f"ValueAll({self.scope_name})"
``````````
</details>
https://github.com/llvm/llvm-project/pull/202802
More information about the llvm-branch-commits
mailing list