[PATCH] D38008: [llvm-objcopy] Refactor code to include initialize method

Jake Ehrlich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 18 16:38:33 PDT 2017


jakehehrlich created this revision.

This change refactors some of the code to  allow for some code deduplication in later diffs as well as just to make adding a new section type more self contained to the class itself. The idea for this was first mentioned by James in D 37915 and will be used in that change as recommended.

This change follows changes for dynamic sections but precedes support for dynamic relocations.


Repository:
  rL LLVM

https://reviews.llvm.org/D38008

Files:
  tools/llvm-objcopy/Object.cpp
  tools/llvm-objcopy/Object.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38008.115748.patch
Type: text/x-patch
Size: 10080 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170918/afcbfcc4/attachment.bin>


More information about the llvm-commits mailing list