[all-commits] [llvm/llvm-project] 927c51: [lldb] Improve frame variable handling of recogniz...

Dave Lee via All-commits all-commits at lists.llvm.org
Thu May 28 14:29:18 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 927c51d2434e9cb094742e77289b35dad88383c5
      https://github.com/llvm/llvm-project/commit/927c51d2434e9cb094742e77289b35dad88383c5
  Author: Dave Lee <davelee.com at gmail.com>
  Date:   2026-05-28 (Thu, 28 May 2026)

  Changed paths:
    M lldb/source/Commands/CommandObjectFrame.cpp
    M lldb/test/API/commands/frame/recognizer/TestFrameRecognizer.py

  Log Message:
  -----------
  [lldb] Improve frame variable handling of recognizer arguments (#200084)

Fixes two bugs. The bug which prompted this change is that `frame
variable name` would
print all regcognizer arguments, even though only "name" was requested.

While making a test for the first bug, I found that `frame variable
recognizer_arg` will
both successfully print the variable, and also report a false positive
error:

```
error: <user expression>:1:1: use of undeclared identifier 'recognizer_arg'
      1 | recognizer_arg
```

This change fixes both bugs, including when using `--regex`.



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