[PATCH] D61477: [ELF] -z combreloc: sort dynamic relocations by (!is_relative,symbol_index,r_offset)

Roland McGrath via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 10:59:34 PDT 2019


mcgrathr added a comment.

The sorting behavior is entirely an optimization for locality at dynamic reloc time.  Both locality of symtab indices and locality of reloc offsets are useful to that goal.


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61477/new/

https://reviews.llvm.org/D61477





More information about the llvm-commits mailing list