[PATCH] D44412: Reduce code duplication a bit

Rafael Avila de Espindola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 12 20:47:02 PDT 2018


espindola created this revision.
espindola added a reviewer: ruiu.
Herald added subscribers: fedor.sergeev, arichardson, emaste, jyknight.

The code for computing the offset of an entry in the plt is simple, but it was duplicated in quite a few places.


https://reviews.llvm.org/D44412

Files:
  ELF/Arch/SPARCV9.cpp
  ELF/Arch/X86.cpp
  ELF/Arch/X86_64.cpp
  ELF/Symbols.cpp
  ELF/Target.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44412.138124.patch
Type: text/x-patch
Size: 4191 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180313/aef51f14/attachment.bin>


More information about the llvm-commits mailing list