[Lldb-commits] [lldb] [lldb] Fix TestSBValueSetTypeSyntheticOverride with libstdc++ (PR #210495)

David Mentler via lldb-commits lldb-commits at lists.llvm.org
Sat Jul 18 03:07:03 PDT 2026


mentlerd wrote:

> I'm not sure if I understand this correctly. You were checking that there _wasn't_ a synthetic children provider: `self.checkOverride(vec, before=None)`. But in you're description, you said that you expected a provider.

I was checking that the scripted synthetic child provider's _python implementation_ is `None` with the [new API `SBValue::GetTypeSyntheticImplementation()`](https://lldb.llvm.org/use/variable.html#api-attached-synthetic-child-provider). That is to be expected if the SCP is implemented in C++, but for libstdc++ that is not the case, there is a Python implementation.

The now removed test wished to check if a `CXXSyntheticChildren` based SCP was compatible with `SBValue::SetTypeSynthetic()`s (another new API) ability to influence the SCP choice.

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


More information about the lldb-commits mailing list