[PATCH] D45166: [ELF] - Introduce helper for iterating over linker commands.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 2 08:40:54 PDT 2018


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

We often need to iterate over linker script commands.
And very often we need only a single command type in a loop.
I suggest adding the helper for convenience.
The patch shows the change I am suggesting.


https://reviews.llvm.org/D45166

Files:
  ELF/AArch64ErrataFix.cpp
  ELF/LinkerScript.cpp
  ELF/LinkerScript.h
  ELF/OutputSections.cpp
  ELF/Relocations.cpp
  ELF/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45166.140631.patch
Type: text/x-patch
Size: 12772 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180402/cc129d1a/attachment.bin>


More information about the llvm-commits mailing list