================ @@ -172,7 +172,4 @@ def test_ref_and_ptr(self): # The pointer should just show the right number of elements: - ptrAddr = self.findVariable("ptr").GetValue() - self.expect_expr( - "ptr", result_type="std::span<int, 5> *", result_summary=f"{ptrAddr} size=5" - ) + self.expect("frame variable ptr", patterns=["ptr = 0x.*", " size=5"]) ---------------- ZequanWu wrote:
`SBValue::GetValue` essentially uses the summary string provided by summary provider. So it returns "size=5" after I removed the pointer value in libcxx container summary. https://github.com/llvm/llvm-project/pull/125294 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits