[PATCH] D61629: [ELF] Try placing newly created ThunkSection at the end of the InputSection first

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 7 01:35:53 PDT 2019


peter.smith added a comment.

I don't think it will do any harm, but it is probably not going to make a lot of difference. The thunk code makes the assumption that there is one branch range for the thunk section spacing, the vast majority will get placed in these sections. The no suitable ThunkSection case is for the small number of edge cases that don't fit the model, for example in Thumb there is one very rare branch that has a much shorter range so it may need to use this, but there aren't enough of them to make reuse opportunities that likely.


Repository:
  rLLD LLVM Linker

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

https://reviews.llvm.org/D61629





More information about the llvm-commits mailing list