[PATCH] D39371: [ELF] - Stop sorting input sections in createSections().

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 27 07:39:05 PDT 2017


grimar created this revision.
Herald added a subscriber: emaste.

It does not seem that createSections() is a good place for applying
sorting.
We can do that inside sortSections(), which name looks more appropriate.
That also should help to following cleanup change: https://reviews.llvm.org/D39045.


https://reviews.llvm.org/D39371

Files:
  ELF/OutputSections.cpp
  ELF/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39371.120604.patch
Type: text/x-patch
Size: 3975 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171027/79794319/attachment.bin>


More information about the llvm-commits mailing list