[lld] r249061 - Don't include shared libraries multiple times.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 13:04:50 PDT 2015


On 1 October 2015 at 15:59, Rui Ueyama <ruiu at google.com> wrote:
> I'm wondering if this is really an expected behavior. Does linkers have to
> look at DT_SONAME field in DSOs to dedup them? Is this what other linkers
> do?

Yes, that is what they do. There is still some extra behavior around
--as-needed/--no-as-needed, but otherwise this is expected.

Cheers,
Rafael


More information about the llvm-commits mailing list