diff options
author | Deepak Panickal <deepak@codeplay.com> | 2014-07-01 17:57:19 +0000 |
---|---|---|
committer | Deepak Panickal <deepak@codeplay.com> | 2014-07-01 17:57:19 +0000 |
commit | 9b35cf52d2a88cda5167c9638696adce5b152720 (patch) | |
tree | 256f0679d9a9f5e095704d076755cef8d47c1e45 /lldb/scripts/Python/interface | |
parent | 91f380a499f54a4df63da137b50af3a6700d24d1 (diff) | |
download | bcm5719-llvm-9b35cf52d2a88cda5167c9638696adce5b152720.tar.gz bcm5719-llvm-9b35cf52d2a88cda5167c9638696adce5b152720.zip |
This creates 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.
These are currently required for the Python command interpreter to be used from within LLDB.
llvm-svn: 212111
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r-- | lldb/scripts/Python/interface/SBHostOS.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/scripts/Python/interface/SBHostOS.i b/lldb/scripts/Python/interface/SBHostOS.i index 826548a8c5b..0352924bd28 100644 --- a/lldb/scripts/Python/interface/SBHostOS.i +++ b/lldb/scripts/Python/interface/SBHostOS.i @@ -21,7 +21,7 @@ public: static lldb::thread_t ThreadCreate (const char *name, - void *(*thread_function)(void *), + lldb::thread_func_t, void *thread_arg, lldb::SBError *err); @@ -34,7 +34,7 @@ public: lldb::SBError *err); static bool ThreadJoin (lldb::thread_t thread, - void **result, + lldb::thread_result_t *result, lldb::SBError *err); }; |