[llvm-branch-commits] [llvm] [Dexter] Allow fetching "scopes" from the debugger (PR #202802)
Stephen Tozer via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Jun 16 06:57:08 PDT 2026
================
@@ -110,9 +110,6 @@ def get_active_wheres(where: Where, scope: Scope):
# As we visit the script nodes in pre-order traversal, we can always assume that an expect's parent !where
# has already been visited, and thus should have an entry in active_where_expects if it is active.
def get_active_expects(expect: Expect, expected_value, scope: Scope):
----------------
SLTozer wrote:
The assert is primarily a type checking convenience, since the result dict mapped from `Value` types - this patch updates the handling code to handle other kinds of expects, and the dict is updated to contain other kinds of expects, and thus we no longer need to assert that the expect is of a particular type (because we assume they are all handled in the receiver).
https://github.com/llvm/llvm-project/pull/202802
More information about the llvm-branch-commits
mailing list