On Wed, Oct 29, 2014 at 10:33 AM,  <jing...@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
_______________________________________________
lldb-dev mailing list
lldb-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to