[PATCH] D36097: Prototype fix for lld DWARF parsing of base address selection entries in range lists

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 17:19:06 PDT 2017


David Blaikie via Phabricator <reviews at reviews.llvm.org> writes:

> (aside: does anyone have an idea of how well LLD scales with the number of
> relocations versus the number of bytes of data in a section? I'd love to know
> how much this reduction in relocations is worth (like is runtime of the linker
> roughly N*relocs + M*raw bytes? Could be interesting to know - obviously
> varying on different configurations (cores, disk speed, etc))

We have a special case for relocations in non alloc sections (like debug
info) that make it pretty fast.

I can try to build clang -O0 -g with and without
--use-dwarf-ranges-base-address-specifier and compare if you want. Can
you think of a better test?

Cheers,
Rafael


More information about the llvm-commits mailing list