[lldb-dev] Should MyType's synthetic provider be instantiated for MyType* and MyType** ?

Vadim Chugunov via lldb-dev lldb-dev at lists.llvm.org
Mon Jul 19 17:12:25 PDT 2021

I am observing that if I bind a synthetic provider to MyType, it will also
be instantiated for MyType*, MyType**, etc, and the object passed into the
constructor will be *of the pointer type*.    I'd have expected the
synthetic to either not be instantiated for pointers, or to be constructed
on the pointee object directly.

Is this a bug or done this way on purpose?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20210719/afc64d55/attachment.html>

More information about the lldb-dev mailing list