[lldb-dev] Fix external issue

Benjamin Kramer benny.kra at googlemail.com
Wed Jul 7 02:34:28 PDT 2010


On 07.07.2010, at 10:45, Jean-Daniel Dupas wrote:

> 
> This patch move the "LLDBVersionNumber" forward declaration outside the method body and explicitly declare it as extern "C" to make sure the compiler properly mangle the symbol reference.
> 
> This is required to be able to compile LLDB using a conformed C++ compiler:
> 
> http://lists.cs.uiuc.edu/pipermail/cfe-dev/2010-July/009794.html
> 
> With this patch, LLBD can be compiled out of the box with clang++ :-)

Looks great, applied as r107765.



More information about the lldb-dev mailing list