[lldb-dev] SWIG updates

Enrico Granata egranata at apple.com
Mon Aug 22 14:46:53 PDT 2011


Hi all,
there have reportedly been a few issues today related to LLDB being unable to find Python objects.
If that happens to you as well, the solution is to delete source/LLDBWrapPython.cpp and rebuild. SWIG will automatically regenerate the file with a new and improved version of the algorithm used to find Python objects.
The reason for the failures is that some objects have been moved out of the global namespace, and the old algorithm was unable to find objects contained into modules. Thus, having the new codebase will create the objects nested in modules, but fail to generate a new LLDBWrapPython.cpp (and sometimes SWIG does not do that automatically), and searches are doomed to fail.

Thanks,
Enrico Granata
✆ 408.974.5572 | ✉ egranata@.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20110822/a3b51d04/attachment.html>


More information about the lldb-dev mailing list