labath wrote:

I'm also not very thrilled by this. I think your use case would be very hard to 
support in the long term. From the sound of things, you're using a fairly 
limited subset of the lldb api (SBModule, SBCompileUnit, SBType?), but even so, 
i think we can't guarantee that neither of these APIs will ever cause a script 
interpreter to be loaded (lazily).

In your place, I'd look into other alternatives. I'm not sure what "level" you 
want to view the debug info at, but llvm has another DWARF parser which is more 
suitable for library usage (llvm/DebugInfo/DWARF). There's also the "logical 
view" library (llvm/DebugInfo/LogicalView) which should give you a higher level 
view of the information, though I have no actual experience with it.

https://github.com/llvm/llvm-project/pull/105757
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to