[PATCH] D31467: [ELF] - Detemplate GnuHashTableSection and SymbolTableSection sections.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 29 09:16:32 PDT 2017


grimar created this revision.
Herald added subscribers: rengolin, aemerson.

GnuHashTableSection and SymbolTableSection 
are dependent on each other, it is easier to detemplate them together at once.

Detemplation of SymbolTableSection allows to detemplate elf::addSyntheticLocal<ELFT>,
which opens road to to demplate next things then:

- ARMToThumbV7PILongThunk<ELFT>
- ARMToThumbV7ABSLongThunk<ELFT>
- ThumbToARMV7PILongThunk<ELFT>
- ThumbToARMV7ABSLongThunk<ELFT>
- MipsThunk<ELFT>
- addThunkArm()
- addThunk();

Next sections should are easier to detemplate too:

- RelocationSection<ELFT>
- HashTableSection<ELFT>
- VersionTableSection<ELFT>
- VersionDefinitionSection<ELFT>
- VersionNeedSection<ELFT>


https://reviews.llvm.org/D31467

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31467.93380.patch
Type: text/x-patch
Size: 13025 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170329/25632202/attachment.bin>


More information about the llvm-commits mailing list