[PATCH] D31028: [ELF] - Detemplate PltSection<ELFT> section.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 06:22:06 PDT 2017


grimar created this revision.

Deemplating PltSection opens road for detemplating all
templated methods of SymbolBody:

  template <class ELFT> typename ELFT::uint getVA(int64_t Addend = 0) const;
  template <class ELFT> typename ELFT::uint getGotOffset() const;
  template <class ELFT> typename ELFT::uint getGotVA() const;
  template <class ELFT> typename ELFT::uint getPltVA() const;
  template <class ELFT> typename ELFT::uint getSize() const;

Detemplating them opens way to detemplate other parts of linker.


https://reviews.llvm.org/D31028

Files:
  ELF/Relocations.cpp
  ELF/SyntheticSections.cpp
  ELF/SyntheticSections.h
  ELF/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31028.91989.patch
Type: text/x-patch
Size: 7067 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170316/f73b3949/attachment.bin>


More information about the llvm-commits mailing list