[PATCH] D18706: [DWARF] Force a linkage_name on an inlined subprogram's abstract origin

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 5 09:24:57 PDT 2016


On Mon, Apr 4, 2016 at 3:34 PM, Paul Robinson via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> probinson added a comment.
>
> Built Clang with Clang 3 times: linkage names Enabled, linkage names
> Disabled but with the patch, linkage names Disabled without the patch (aka:
> all names, some names, no names).
> 'all names' and 'no names' are the options we have today;


Which option(s) are you referring to here ^ (do we have a flag or somesuch
that allows enabling/disabling linkage names?)


> this patch replaces 'no names' with 'some names.'
>
> Total ELF size of 'all names' is 11.2% larger than 'no names'; sum of all
> .debug_* sections is 11.9% larger.
> Total ELF size of 'some names' is 0.6% larger than 'no names'; sum of all
> .debug_* sections is 0.6% larger.
> The bulk of the difference obviously in .debug_str, with some in
> .debug_info and .debug_abbrev.
>
> (Debug info turns out to be about 95% of the total ELF size, without LTO
> or .debug_types or any other deduplication; hence the ELF and .debug_*
> percentages are naturally very similar.)


> A size cost of <1% seems pretty reasonable here.
>
>
> http://reviews.llvm.org/D18706
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160405/f8034235/attachment.html>


More information about the llvm-commits mailing list