[Lldb-commits] [lldb] [lldb] Support "dereferencing" std::optional in `frame var` (PR #107077)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 3 03:32:39 PDT 2024
================
@@ -79,6 +79,18 @@ def cleanup():
],
)
+ self.expect_var_path("*number_engaged", value="42")
+ self.expect_var_path("*x", children=[ValueCheck(name="x", value="42")])
+ self.expect_var_path("x->x", value="42")
+
+ # The error message could use some improvement, but at least we can
+ # check we don't crash.
----------------
Michael137 wrote:
Yea would be nice to bubble a nicer error up somehow. Looks like ValueObject currently just drops any error set by the dereferenced ValueObject (we don't set one in the formatter currently anyway). But not urgent
https://github.com/llvm/llvm-project/pull/107077
More information about the lldb-commits
mailing list