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

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 14:38:08 PDT 2015


>> 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


More information about the llvm-commits mailing list