[Lldb-commits] [lldb] [lldb] Add SetValueFromCString API to SyntheticFronend (PR #67309)

via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 25 09:31:41 PDT 2023


jimingham wrote:

Getting the SyntheticFrontEnd to try updating the synthetic value is a good addition.  But I'm not sure that ValueObject should be the one that should provide access directly to the FrontEnd?  Why isn't it enough to have the ValueObjectSynthetic's SetValueFromCString do this?  If you have decided to pull the Non-synthetic value (and so are accessing the ValueObjectVariable directly, would you expect to have the synthetic value do an update?  When would something that is a ValueObject but not a ValueObjectSynthetic really want to update the value using the SyntheticFrontEnd?

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


More information about the lldb-commits mailing list