[PATCH] D29664: [LLD][ELF] Refactor PltSection and IPltSection common code into a base class NFC

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 10:24:49 PST 2017


peter.smith created this revision.

In a comment via email on https://reviews.llvm.org/D28956 Rafael suggested:
"Would it be possible to add a common base class to PltSection and Ipltsection and share this code?"

This is an attempt to add a common base class PltSectionBase that moves out most of the more complex code into the base class. It is using the same logic and interface as previously.


https://reviews.llvm.org/D29664

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29664.87476.patch
Type: text/x-patch
Size: 7386 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170207/4d54670e/attachment.bin>


More information about the llvm-commits mailing list