[lldb-dev] No C++ language runtime plug-in?

Greg Clayton gclayton at apple.com
Tue Dec 11 15:28:08 PST 2012

This is an easy fix. In lldb.cpp the inclusion and init/terminate routines for the itanium plug-in are hidden in "#if defined (__APPLE__)" and it shouldn't be.

Andrew: please try and remove the "#if defined (__APPLE__)" from the following plug-ins so that all systems load them. Can you try and remove all instances of "#if defined (__APPLE__)" from lldb.cpp and see if this compiles?

They should all compile and be available on other systems so that you can remote debug to MacOSX. Let us know if there are any issues.

On Dec 11, 2012, at 2:08 PM, "Kaylor, Andrew" <andrew.kaylor at intel.com> wrote:

> I have been investigating the failure of the ‘DynamicValueTestCase.test_get_dynamic_value_with_dwarf’ test on Linux, and to my surprise it seems to be failing because LLDB doesn’t find a C++ language runtime plug-in on Linux.  I see that there is an ItaniumABI plug-in for C++, but no language runtimes get used on my x86_64-based Linux system.  I’m guessing that on Mac OS’s this is handled by the ObjectiveC V2 plugin, but that doesn’t get used on Linux either.
> Anyway, I was about to file an issue in Bugzilla to implement a C++ language runtime plug-in, but it seemed like a good idea to solicit input on history, design decisions and such first.
> Does anyone know anything about this?
> Thanks,
> Andy
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

More information about the lldb-dev mailing list