<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Le 11 juin 2010 à 22:41, <a href="mailto:root@hbbrbasic.com">root@hbbrbasic.com</a> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br>  While building lldb driver I ran into the missing init_lldb() in <br>ScriptInterpreterPython.cpp.<br>Seems that lldb_private::Initialize() is the right function to call and <br>I just wanted to confirm that.<br><br>  The other minor issue is the missing LLDBVersionNumber but that is <br>easily taken care of.<br><br>Cheers,<br>Pawel<br></div></blockquote><br></div><div><br></div>From a previous discussion at <a href="http://lists.cs.uiuc.edu/pipermail/lldb-dev/2010-June/000039.html">http://lists.cs.uiuc.edu/pipermail/lldb-dev/2010-June/000039.html</a><div><br></div><div><span class="Apple-style-span" style="font-family: Times; "><pre>><i> 
</i>><i> source/Interpreter/ScriptInterpreterPython.cpp:
</i>><i> My build doesn't define init_lldb anywhere; I have no idea where the
</i>><i> definition is supposed to be.
</i>><i> 
</i>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:

cd scripts
sh ./build-swig-wrapper-classes.sh lldb.swig ../source/LLDBWrapPython.cpp

The init_lldb ends up being in the LLDBWrapPython.cpp</pre></span><div><br></div><div>Read this answer too, it may be interesting:</div><div><br></div><div>http://lists.cs.uiuc.edu/pipermail/lldb-dev/2010-June/000045.html</div><div><br></div><div><br></div><div><br></div><div>
<div>-- Jean-Daniel</div><div><br></div><div><br></div><br class="Apple-interchange-newline">
</div>
<br></div></body></html>