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

Reid Kleckner rnk at google.com
Tue Dec 17 12:39:57 PST 2013


On Tue, Dec 17, 2013 at 12:19 PM, David Blaikie <dblaikie at gmail.com> wrote:

> b) -flimit-debug-info is worth, at a guess, somewhere between 1 and 5%.
>> This vtable optimization is worth closer to 20%. That's /serious/ bloat to
>> consider accepting.
>
>
I think you could address the concerns that Apple has without losing the
20% gain by emitting debug info for base classes in the TU with the key
function for the derived class, and not all TUs requiring a complete type.
 Does that make sense?

Somebody should implement that and compare object file size with gcc on
some non-clang project, because we don't actually use that many polymorphic
classes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131217/70b3c79d/attachment.html>


More information about the cfe-commits mailing list