[PATCH] D44284: ELF: Do not create multiple thunks for the same virtual address.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 8 18:21:20 PST 2018


pcc created this revision.
pcc added reviewers: ruiu, espindola, peter.smith.
Herald added subscribers: arichardson, javed.absar, emaste.

This avoids creating multiple thunks for symbols with aliases or which
belong to ICF'd sections. This patch reduces the size of Chromium for
Android by 260KB (0.8%).


https://reviews.llvm.org/D44284

Files:
  lld/ELF/Relocations.cpp
  lld/ELF/Relocations.h
  lld/test/ELF/arm-thumb-plt-range-thunk-os.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44284.137686.patch
Type: text/x-patch
Size: 10098 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180309/bbb92b13/attachment.bin>


More information about the llvm-commits mailing list