[PATCH] D13950: ELF2: Implement --gc-sections.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 14:44:37 PDT 2015


Is that a debug build? Mine is a release build.

On Wed, Oct 21, 2015 at 2:38 PM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> >> Cool feature. Do you happen to have data about the gap in size between
> >> this and gold after this?
> >
> >
> > Here are sizes of Clang linked with ld, gold and LLD with or without
> > --gc-sections.
> >
> > ld
> > 56321983
> > 56253215
> >
> > gold
> > 57765632
> > 57696264
> >
> > LLD
> > 57765712
> > 55296872
>
> All of those numbers are really small. Are you building with all
> arches? What I got with without/with --gc-sections:
>
> gold:
> 77058984
> 77018680
>
> lld:
> 87499552
> 84920960
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151021/fb7082c4/attachment.html>


More information about the llvm-commits mailing list