[lldb-dev] Editline Rewrite : issues surround wide character handling on different platforms

Siva Chandra sivachandra at google.com
Wed Oct 29 10:44:54 PDT 2014


On Wed, Oct 29, 2014 at 10:33 AM,  <jingham at apple.com> wrote:
> And for instance, if we ever get good support for modules in C++,
> we could presumably then use that to do things like instantiate template
> classes for types that weren't instantiated in the current program, and
> other cool'o things like that which would be hard to do with some
> hand-built C++ parser, a la gdb.

GDB's solution for such cases currently is XMethods:
https://sourceware.org/gdb/current/onlinedocs/gdb/Xmethods-In-Python.html

There are a bunch of XMethods available for container classes in
libstdc++: https://gcc.gnu.org/svn/gcc/trunk/libstdc++-v3/python/libstdcxx/v6/xmethods.py



More information about the lldb-dev mailing list