[lldb-dev] LLDB C++ API integration.

Mikhail Seriukov via lldb-dev lldb-dev at lists.llvm.org
Mon Aug 7 21:15:58 PDT 2017


Hi Jim, thank you for your response!

If I choose to build the framework, there is a code signing problem.
For the debugserver (and lldb-server?) we need lldb_codesign certificate.
I was wondering if I could use my Mac developer certificate instead?

Also I've found the DEBUGSERVER_USE_FROM_SYSTEM build option which allows
to use binaries build and signed by Apple.
But is it ok(legally) to distribute an app that contains framework with
these binaries?

Which way is better in your opinion?


2017-08-08 5:33 GMT+07:00 Jim Ingham <jingham at apple.com>:

> One of the rules of the SB API's both on the Python & C++ side is that we
> maintain backwards compatibility (up to some time in the Future when we'll
> declare a SB 2.0...)
> So if you compile your tool against some version of the framework, you
> should be able to run against any newer version.
>
> Apple doesn't include the headers for the SB API's in the frameworks we
> distribute, so you will have to get & build an LLDB.framework to build
> against, but if you're developing code using lldb you'll probably want to
> have that around anyway to help with debugging your code.  But you should
> be able to run against the LLDB.framework that is shipped with Xcode,
> provided it has all the API's that you use.
>
> Jim
>
>
> > On Aug 6, 2017, at 9:43 PM, Mikhail Seriukov via lldb-dev <
> lldb-dev at lists.llvm.org> wrote:
> >
> > Hi,
> >
> > I want to write a Mac app that uses LLDB C++ API.
> > What is the best way to do it?
> >
> > Should I build and codesign the framework myself, how can I distribute
> it then?
> > Should I reuse the framework from "Command line tools", but then I
> should force users to install it?
> > How should I structure my Xcode workspace to make it see this framework
> and headers?
> >
> > Thank you for your replies!
> >
> > _______________________________________________
> > lldb-dev mailing list
> > lldb-dev at lists.llvm.org
> > http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20170808/284c5f8f/attachment.html>


More information about the lldb-dev mailing list