[Lldb-commits] [PATCH] D48215: Remove dependency from Host to python

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 15 04:57:38 PDT 2018


labath created this revision.
labath added reviewers: zturner, jingham, davide.
Herald added a subscriber: mgorny.

The only reason python was used in the Host module was to compute the
python path. I resolve this the same way as https://reviews.llvm.org/D47384 did for clang, moving
the path computation into the python plugin and modifying SBHostOS class
to call into this module for ePathTypePythonDir.


https://reviews.llvm.org/D48215

Files:
  include/lldb/Host/macosx/HostInfoMacOSX.h
  include/lldb/Host/posix/HostInfoPosix.h
  include/lldb/Host/windows/HostInfoWindows.h
  source/API/SBHostOS.cpp
  source/Host/CMakeLists.txt
  source/Host/common/HostInfoBase.cpp
  source/Host/macosx/objcxx/HostInfoMacOSX.mm
  source/Host/posix/HostInfoPosix.cpp
  source/Host/windows/HostInfoWindows.cpp
  source/Plugins/ScriptInterpreter/Python/CMakeLists.txt
  source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
  source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48215.151489.patch
Type: text/x-patch
Size: 16098 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180615/d3b67558/attachment.bin>


More information about the lldb-commits mailing list