[PATCH] D23140: Split InputSectionDescription::Sort into SortInner and SortOuter.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 3 14:27:34 PDT 2016
ruiu created this revision.
ruiu added a reviewer: grimar.
ruiu added a subscriber: llvm-commits.
The comparator function to compare input sections as instructed by
SORT command was a bit too complicated because it needed to handle
four different cases. This patch split it into two function calls.
This patch also simplifies the parser.
https://reviews.llvm.org/D23140
Files:
ELF/LinkerScript.cpp
ELF/LinkerScript.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23140.66723.patch
Type: text/x-patch
Size: 4630 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160803/f0274295/attachment.bin>
More information about the llvm-commits
mailing list