[Lldb-commits] [PATCH] LLDB Python API support on Windows (ported the SWIG wrapper shell scripts to Python)

Deepak Panickal deepak2427 at gmail.com
Thu Mar 6 03:16:14 PST 2014


This patch will create a valid Python API for Windows, pending some issues. The changes included are - 
- Ported the SWIG wrapper shell scripts to Python so that they would work on Windows too along with other platforms
- Updated CMake handling to fix SWIG errors and manage sym-linking on Windows to liblldb.dll
- More build fixes for Windows

The pending issues are that two Python modules, termios and pexpect are not available on Windows. 
We have to work on this issue, by either removing this dependency or working around it.

Once these issues are dealt with, we would be able to run the Python test suite on Windows.

http://llvm-reviews.chandlerc.com/D2980

Files:
  CMakeLists.txt
  include/lldb/API/SBHostOS.h
  include/lldb/Host/windows/win32.h
  include/lldb/lldb-python.h
  scripts/CMakeLists.txt
  scripts/Python/buildSwigPython.py
  scripts/Python/finish-swig-Python-LLDB.sh
  scripts/Python/finishSwigPythonLLDB.py
  scripts/Python/interface/SBHostOS.i
  scripts/buildSwigWrapperClasses.py
  scripts/finishSwigWrapperClasses.py
  scripts/utilsArgsParse.py
  scripts/utilsDebug.py
  scripts/utilsOsType.py
  source/CMakeLists.txt
  source/Interpreter/ScriptInterpreterPython.cpp
  source/Symbol/ClangASTType.cpp
  source/Utility/PseudoTerminal.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2980.1.patch
Type: text/x-patch
Size: 126143 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140306/c26de91a/attachment.bin>


More information about the lldb-commits mailing list