[all-commits] [llvm/llvm-project] 8ba70e: [Dexter] Add basic result evaluation for structure...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Wed Jun 3 07:29:58 PDT 2026


  Branch: refs/heads/users/SLTozer/dexter-4-add-basic-evaluation
  Home:   https://github.com/llvm/llvm-project
  Commit: 8ba70e81b881aaa72a12f634c92072645fd96d6a
      https://github.com/llvm/llvm-project/commit/8ba70e81b881aaa72a12f634c92072645fd96d6a
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2026-06-03 (Wed, 03 Jun 2026)

  Changed paths:
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/DebuggerControllers/ScriptDebuggerController.py
    A cross-project-tests/debuginfo-tests/dexter/dex/evaluation/ExpectMatch.py
    A cross-project-tests/debuginfo-tests/dexter/dex/evaluation/Metrics.py
    A cross-project-tests/debuginfo-tests/dexter/dex/evaluation/RunMatch.py
    A cross-project-tests/debuginfo-tests/dexter/dex/evaluation/StateMatch.py
    A cross-project-tests/debuginfo-tests/dexter/dex/evaluation/__init__.py
    M cross-project-tests/debuginfo-tests/dexter/dex/test_script/__init__.py
    M cross-project-tests/debuginfo-tests/dexter/dex/tools/test/Tool.py
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/evaluation/basic_evaluate.cpp
    A cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/evaluation/evaluate_nothing.cpp

  Log Message:
  -----------
  [Dexter] Add basic result evaluation for structured scripts

This patch adds evaluation for structured scripts, completing the features
required to run simple Dexter tests using structured scripts. The basic
output from these evaluations is a list of named metrics aggregating the
results of evaluating !value nodes. The verbose output gives a per-step
summary of the results for each expect node active at that step.

Most of the new functionality is in the evaluation/ dir, which has also
absorbed some functionality previously stored in the
ScriptDebuggerController for matching !where nodes to a debugger StepIR,
as this is logic which is common to both managing a debugger session and
evaluating the end result.


  Commit: 817b8d621039db3a6d148a2c6b9ba904df1061e0
      https://github.com/llvm/llvm-project/commit/817b8d621039db3a6d148a2c6b9ba904df1061e0
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2026-06-03 (Wed, 03 Jun 2026)

  Changed paths:
    M cross-project-tests/debuginfo-tests/dexter/dex/test_script/__init__.py
    M cross-project-tests/debuginfo-tests/dexter/dex/tools/test/Tool.py

  Log Message:
  -----------
  Minor fixup(s)


  Commit: 1d79b32165425074839de16e32c4f7f2f259f745
      https://github.com/llvm/llvm-project/commit/1d79b32165425074839de16e32c4f7f2f259f745
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2026-06-03 (Wed, 03 Jun 2026)

  Changed paths:
    M cross-project-tests/debuginfo-tests/dexter/dex/evaluation/ExpectMatch.py
    M cross-project-tests/debuginfo-tests/dexter/dex/evaluation/Metrics.py
    M cross-project-tests/debuginfo-tests/dexter/dex/evaluation/RunMatch.py
    M cross-project-tests/debuginfo-tests/dexter/dex/evaluation/StateMatch.py
    M cross-project-tests/debuginfo-tests/dexter/dex/tools/test/Tool.py
    M cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/evaluation/basic_evaluate.cpp
    M cross-project-tests/debuginfo-tests/dexter/feature_tests/scripts/evaluation/evaluate_nothing.cpp

  Log Message:
  -----------
  format


  Commit: cdfb434ce1fc12bf1a153bc4ef01cad0d62f6159
      https://github.com/llvm/llvm-project/commit/cdfb434ce1fc12bf1a153bc4ef01cad0d62f6159
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2026-06-03 (Wed, 03 Jun 2026)

  Changed paths:
    M cross-project-tests/debuginfo-tests/dexter/dex/evaluation/Metrics.py
    M cross-project-tests/debuginfo-tests/dexter/dex/evaluation/RunMatch.py
    M cross-project-tests/debuginfo-tests/dexter/dex/evaluation/StateMatch.py
    M cross-project-tests/debuginfo-tests/dexter/dex/tools/test/Tool.py

  Log Message:
  -----------
  Address review comments


Compare: https://github.com/llvm/llvm-project/compare/89fd5455d381...cdfb434ce1fc

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