[lldb-dev] Help with C++ API
Jakob Leben
jakob.leben at gmail.com
Wed Aug 28 14:05:51 PDT 2013
On Wed, Aug 28, 2013 at 11:25 AM, Enrico Granata <egranata at apple.com> wrote:
> That makes sense. An std::string only has one child, which is a struct that
> then contains the pointer
> std::string has no synthetic children, also.
> It only has a summary.
Well, we have established that "elements" of a std::list are only
called so in a "synthetic" sense. I think characters are elements of a
std::string in exactly the same sense, so I think the same API should
support accessing both.
Moreover, the "summary" has the notion of pretty-printing, and does
not seem logically suitable for actual-data access.
What do you think of this?
More information about the lldb-dev
mailing list