[PATCH] Linker: Replace overridden subprograms

David Blaikie dblaikie at gmail.com
Tue Dec 16 10:03:26 PST 2014


On Tue, Dec 16, 2014 at 10:01 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:
>
> > I thought this was part of a special case for dwarf in linkers (and
> > the missing feature why lld produced binaries are much larger in -g
> > builds).
>
> No, you are correct. The subprograms are not optimized. I tested by
> just having a simple inline function in two .cpp.
>
> In the small example the only thing missing from lld is optimizing
> .debug_str.


What's suboptimal about .debug_str? Does lld not support the string
deduplicating section stuff?


> Let me check clang.
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141216/d0c211b3/attachment.html>


More information about the llvm-commits mailing list