[Lldb-commits] [lldb] [lldb] Treat synthetic variables as locals (PR #204431)

via lldb-commits lldb-commits at lists.llvm.org
Sat Jun 27 04:46:13 PDT 2026


================
@@ -555,6 +555,11 @@ def get_register_context(self):
         """No register context."""
         return None
 
+    def get_value_type_for_variable(self, var):
+        if var.GetName() == "_handler_one":
+            return lldb.eValueTypeVariableLocal
----------------
Nerixyz wrote:

It wasn't but it's now there. Python can now add the flag. So scripted frames can include both synthetic and non-synthetic variables.

https://github.com/llvm/llvm-project/pull/204431


More information about the lldb-commits mailing list