<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Dec 17, 2013 at 12:19 PM, David Blaikie <span dir="ltr"><<a href="mailto:dblaikie@gmail.com" target="_blank">dblaikie@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span style="color:rgb(34,34,34)">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.</span></blockquote>
</div></div></div></div></blockquote><div><br></div><div>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?</div>
<div><br></div><div>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. </div></div></div></div>