[lldb-dev] Is it ok to use lldb_private from the driver?

Zachary Turner via lldb-dev lldb-dev at lists.llvm.org
Fri Mar 18 09:54:36 PDT 2016


I notice everything uses SB classes only.  Is this a hard requirement?  We
have a bit of cruft in all of the top-level executables (lldb-server,
lldb-mi, lldb) that could be shared if we could move it into Host, but then
the 3 drivers would have to #include "lldb/Host/Host.h".  Note that lldb-mi
and lldb-server already do this, it's only lldb that doesn't.  Is this ok?

If not, I can always add a method to SBHostOS and just not add a
corresponding swig interface definition for it (so it wouldn't be
accessible from Python), which would achieve basically the same effect.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20160318/19abc02c/attachment.html>


More information about the lldb-dev mailing list