<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 16, 2014 at 10:01 AM, Rafael Espíndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> I thought this was part of a special case for dwarf in linkers (and<br>
> the missing feature why lld produced binaries are much larger in -g<br>
> builds).<br>
<br>
</span>No, you are correct. The subprograms are not optimized. I tested by<br>
just having a simple inline function in two .cpp.<br>
<br>
In the small example the only thing missing from lld is optimizing<br>
.debug_str. </blockquote><div><br>What's suboptimal about .debug_str? Does lld not support the string deduplicating section stuff?<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Let me check clang.<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div></div></div>