[lldb-dev] static fields and consts on a class

Greg Clayton gclayton at apple.com
Fri Jul 18 15:32:28 PDT 2014


Are you asking how to read a static variable from a SBTarget? Or are you asking how to expose a static variable through the lldb::SB API?

> On Jul 16, 2014, at 6:42 AM, Carlo Kok <ck at remobjects.com> wrote:
> 
> I've explored the internal and external apis for LLDB, but I cannot find any way to expose (from LLVM) a static field on a class (like Java: class Test { public static int A = 15; }) or a constant on a class. How do I do this and read it out again with LLDB?
> 
> 
> -- 
> 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