[Lldb-commits] [lldb] [API] add GetSyntheticValue (PR #95959)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 26 17:38:32 PDT 2024
jimingham wrote:
The one thing about this that strikes me as odd is that if you have an SBValue that doesn't have a Synthetic Value, this will return the non-synthetic value. Getting the NonSynthetic Value didn't have this problem because there's always a non-synthetic value, so provided the SBValue was valid you could always hand that out.
Would it make more sense to make the ValueImpl that's going to represent the synthetic value, and return an empty SBValue if it is not?
https://github.com/llvm/llvm-project/pull/95959
More information about the lldb-commits
mailing list