[Lldb-commits] [lldb] [lldb][test] Fix unordered-map test (PR #156033)

via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 3 10:08:09 PDT 2025


jimingham wrote:

Whether to prefer synthetic values for a ValueObject is controlled by the general setting `target.enable-synthetic-value` which is true by default.  You can also control this on a particular ValueObject with `ValueObject.SetPreferSyntheticValue` which should start out primed by the value of the target setting.
If those are both true then `ValueObject::GetChildAtIndex` should fetch the synthetic child at that index.  `GetNonSyntheticValue().GetChildAtIndex` should force the "real" children, and `GetSyntheticValue().GetChildAtIndex` should force the synthetic children.

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


More information about the lldb-commits mailing list