[lldb-dev] Accessing the "clang type system" from the lldb api

Greg Clayton gclayton at apple.com
Wed Apr 30 09:39:01 PDT 2014


Yes. Search for SBType and SBTypeList and check out the SBType.h file.

On Apr 30, 2014, at 8:25 AM, Carlo Kok <ck at remobjects.com> wrote:

> To continue an unfinished discussion from a while back,
> 
> From what I can see lldb basically "builds" the clang type system for any project it debugs and uses that to both compile and validate expressions for evaluation. Is there any clean way to get access to this type system from the SB* side? IE find and list types, their members etc?
> 
> -- 
> Carlo Kok
> RemObjects Software
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev




More information about the lldb-dev mailing list