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

Mukul Sabharwal mjsabby at gmail.com
Wed Apr 15 10:56:02 PDT 2015


Automating it seems like an ok thing to do, this was a start to see if the
community feels it will benefit them immediately having a C interface.

I'm using a different tool (http://clangsharp.org) ClangSharp to generate
this and then a little bit of manual fix up.

I can fully automate it given some time, so if that's the recommend way
I'll get it in shape for that.

If you can look over a few files to see if the output conforms naming
conventions (like LLDBCreateSBDebugger, LLDBDisposeSBDebugger, etc.) that'd
be great, or we can defer it until the automated setup is working.

On Wed, Apr 15, 2015 at 10:11 AM, Zachary Turner <zturner at google.com> wrote:

> I'm not sure if this is the right way to go about things.  Who is going to
> maintain these files?  When someone adds a method to the public API, now
> they have to add it in two different places.  I support being able to have
> bindings for multiple languages, but I feel like it needs to be automated.
>
> You say your ultimate goal is to interact with LLDB from C#.  Have you
> considered using swig to generate C# bindings directly?
>
>
> REPOSITORY
>   rL LLVM
>
> http://reviews.llvm.org/D9027
>
> EMAIL PREFERENCES
>   http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150415/d33cfae4/attachment.html>


More information about the lldb-commits mailing list