[PATCH] D43574: [ELF] - Introduce getInputSections() helper.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 21 07:26:11 PST 2018


grimar created this revision.
grimar added reviewers: ruiu, espindola.
Herald added subscribers: arichardson, emaste.

We sometimes need to iterate over input sections for a given
output section. It is not very convinent because we have to iterate
over section descriptions.
Patch introduces `getInputSections` helper, it simplifies things.


https://reviews.llvm.org/D43574

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43574.135249.patch
Type: text/x-patch
Size: 4762 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180221/953c61bd/attachment.bin>


More information about the llvm-commits mailing list