[Lldb-commits] [PATCH] D10189: Remove lldb_private library implicit dependencies on python

Zachary Turner zturner at google.com
Mon Jul 20 15:14:36 PDT 2015


zturner added a comment.

So I can make a Plugin out of it, but I don't think it removes the need for some kind of factory.  The issue is that I need to break the dependency between Interpreter and libpython.  In other words, nothing in Interpreter can reference (implicitly or explicitly) anything from libpython.  Since ScriptInterpreterPython obviously will reference libpython, it means CommandInterpreter cannot just create a ScriptInterpreterPython based on the value of the language enum.  It has to be given a factory which lives in library X so that X has dependencies on Interpreter and libpython, but Interpreter does not have a dependency on X.


http://reviews.llvm.org/D10189







More information about the lldb-commits mailing list