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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 7 01:14:20 PDT 2019


MaskRay added a comment.

It is inspired by PR40740. It doesn't fix it.

The nice property would be extremely difficult to test directly after both PPC64/MIPS move towards getThunkSectionSpacing (I know little about MIPS to craft a MIPS test..). Just wanted to know if you think this is good to do before I start updating the following tests.

  lld :: ELF/aarch64-cortex-a53-843419-large.s
  lld :: ELF/arm-long-thunk-converge.s
  lld :: ELF/arm-thumb-condbranch-thunk.s
  lld :: ELF/arm-thumb-thunk-empty-pass.s
  lld :: ELF/arm-thunk-re-add.s
  lld :: ELF/ppc64-bsymbolic-toc-restore.s
  lld :: ELF/ppc64-call-reach.s
  lld :: ELF/ppc64-ifunc.s
  lld :: ELF/ppc64-local-dynamic.s
  lld :: ELF/ppc64-plt-stub.s
  lld :: ELF/ppc64-toc-restore-recursive-call.s
  lld :: ELF/ppc64-toc-restore.s


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