[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
Wed Feb 8 06:54:14 PST 2017
peter.smith updated this revision to Diff 87651.
peter.smith added a comment.
Updated the diff with an attempt to use a single class for both the Plt and IPlt. I've used HeaderSize to distinguish between them as that removes a few conditional statements.
https://reviews.llvm.org/D29664
Files:
ELF/SyntheticSections.cpp
ELF/SyntheticSections.h
ELF/Writer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29664.87651.patch
Type: text/x-patch
Size: 7993 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170208/b1ab9322/attachment.bin>
More information about the llvm-commits
mailing list