[llvm-dev] wrap with symver and LTO
Gilles Vollant via llvm-dev
llvm-dev at lists.llvm.org
Sun Jul 25 00:15:47 PDT 2021
On 2021-07-24, Fangrui Song via llvm-dev wrote:
> In gold, --wrap=log seems to apply to a non-default version symbol
log at GLIBC_2.2.5 .
> I consider it a bug.
> Note: ld.lld's --wrap has another difference with GNU linkers
> https://sourceware.org/bugzilla/show_bug.cgi?id=26358
> I personally think ld.lld's is superior because LTO, non-LTO and
relocatable links behave the same.
Do you known a difference in executable size and executable performance
between -fuse-ld=lld ; -fuse-ld=bfd and -fuse-ld=gold for linking clang C++
with lto objet and static library) ?
More information about the llvm-dev
mailing list