r188739 - Revert "Revert "Revert "Revert "DebugInfo: Omit debug info for dynamic classes in TUs that do not have the vtable for that class""""

Eric Christopher echristo at gmail.com
Tue Dec 17 18:20:57 PST 2013


>
>
> > I.e. if you compile your entire program with debug info then you'll have
> a full base class definition somewhere in the debug info.
>
> No you won't. I refer back to the case where developers can link against a
> library that contains a class that is inherited from, but has no debug info.
>
> > If you can't cope with this then it's a bug in lldb that you can't
> process correct debug information.
>
>
> For LLDB we need to re-create types from a single DWARF file. Yes, call
> this lame, but AST's are not portable from version of clang to version of
> clang so we have no option. Clang asserts when it is unhappy, we must keep
> clang happy or we crash because it asserts.
>

I don't understand the single .o file issue here. Can you explain this part
in detail?

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131218/ae64c8f3/attachment.html>


More information about the cfe-commits mailing list