[lldb-dev] Linking issue missing init_lldb() - linux
devlists at shadowlab.org
Fri Jun 11 14:16:38 PDT 2010
Le 11 juin 2010 à 22:41, root at hbbrbasic.com a écrit :
> While building lldb driver I ran into the missing init_lldb() in
> Seems that lldb_private::Initialize() is the right function to call and
> I just wanted to confirm that.
> The other minor issue is the missing LLDBVersionNumber but that is
> easily taken care of.
From a previous discussion at http://lists.cs.uiuc.edu/pipermail/lldb-dev/2010-June/000039.html
> My build doesn't define init_lldb anywhere; I have no idea where the
> definition is supposed to be.
This comes from the file cpp file that is generated by swig when run on the ABI sources.
This is done by a shell script build phase in the Xcode project that essentially does a:
sh ./build-swig-wrapper-classes.sh lldb.swig ../source/LLDBWrapPython.cpp
The init_lldb ends up being in the LLDBWrapPython.cpp
Read this answer too, it may be interesting:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev