[Lldb-commits] [PATCH] Add LLDB C Bindings

Greg Clayton clayborg at gmail.com
Thu Apr 16 17:53:46 PDT 2015


Also any changes made to the .i files need to be backward compatible with SWIG Version 1.3.40.

This is the one and only swig that we can use at Apple.

Greg

> On Apr 16, 2015, at 5:30 PM, Bruce Mitchener <bruce.mitchener at gmail.com> wrote:
> 
> Changes to the .i files will be needed, but not one that would change things for Python.
> 
> - Should move them into a shared location outside of a Python specific directory.
> - SWIG doesn't support the various language extensions when building for a different language, so you'll have to #ifdef around things some (or see if you can separate it into different files but keep the built output the same).
> - Each language will need a bunch of type mappings established.
> - Not everything that needs a type mapping in Python actually has one yet. (There is at least one thing that can't be easily invoked from Python in current HEAD due to missing typemaps.)
> 
> 
> REPOSITORY
>  rL LLVM
> 
> http://reviews.llvm.org/D9027
> 
> EMAIL PREFERENCES
>  http://reviews.llvm.org/settings/panel/emailpreferences/
> 
> 





More information about the lldb-commits mailing list