[all-commits] [llvm/llvm-project] b8771e: [Dexter] Add !address node

Stephen Tozer via All-commits all-commits at lists.llvm.org
Tue Jun 9 15:27:06 PDT 2026


  Branch: refs/heads/users/SLTozer/dexter-12-write-scopes
  Home:   https://github.com/llvm/llvm-project
  Commit: b8771e3717b443f97700bb691c2bf70ededaedc7
      https://github.com/llvm/llvm-project/commit/b8771e3717b443f97700bb691c2bf70ededaedc7
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M cross-project-tests/debuginfo-tests/dexter/dex/evaluation/ExpectMatch.py
    M cross-project-tests/debuginfo-tests/dexter/dex/evaluation/RunMatch.py
    M cross-project-tests/debuginfo-tests/dexter/dex/test_script/Nodes.py
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/evaluation/eval_address.cpp
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/parser/invalid-address.test
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/parser/parse-address.test

  Log Message:
  -----------
  [Dexter] Add !address node

Adds a node type for Dexter that allows checking abstract labels instead of
concrete addresses. Each address node has a label and optional offset, and
the first time during evaluation that a given address label is matched
against a valid pointer value, the address label will be assigned a value
that matches the seen address (adjusting for any offset). From that point,
the resolved address value will be used for the remainder of the test
evaluation.


  Commit: 261b075f2fac3bb4336b99a66315c24243abee47
      https://github.com/llvm/llvm-project/commit/261b075f2fac3bb4336b99a66315c24243abee47
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/DAP.py
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerBase.py
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/ScriptDebuggerController.py
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/dbgeng.py
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
    M cross-project-tests/debuginfo-tests/dexter/dex/dextIR/StepIR.py
    M cross-project-tests/debuginfo-tests/dexter/dex/evaluation/StateMatch.py
    M cross-project-tests/debuginfo-tests/dexter/dex/test_script/Nodes.py
    M cross-project-tests/debuginfo-tests/dexter/dex/test_script/Script.py
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/debugging/watch_scope.cpp
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/parser/expect-all-with-value.test

  Log Message:
  -----------
  [Dexter] Allow fetching "scopes" from the debugger

To further improve Dexter's script writing ability, this patch starts
implementing the ability for Dexter to fetch all variables with in a given
"scope", as defined by the DAP "scopes" request. This allows the test to
collect all available variables without needing to specify them explicitly
in the script, aiding in fast script generation/re-generation.

This patch does not add any script-writing functionality, but adds the
!value/all Node, which fetches all variable values from the given scope, and
enables fetching these values from DAP-based debuggers.


Compare: https://github.com/llvm/llvm-project/compare/b8771e3717b4%5E...261b075f2fac

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list