diff options
author | Rui Ueyama <ruiu@google.com> | 2016-08-04 22:27:00 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2016-08-04 22:27:00 +0000 |
commit | 742c38361bfcf53561c0fca9289abbda03a5f40b (patch) | |
tree | ef219bea897295d0373d006cf35d20593e695bf3 /llvm/lib/Analysis/CostModel.cpp | |
parent | 3bade138b5edb59a472996aeb21fdf9b29d98209 (diff) | |
download | bcm5719-llvm-742c38361bfcf53561c0fca9289abbda03a5f40b.tar.gz bcm5719-llvm-742c38361bfcf53561c0fca9289abbda03a5f40b.zip |
Split InputSectionDescription::Sort into SortInner and SortOuter.
Summary:
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.
Reviewers: grimar
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D23140
llvm-svn: 277780
Diffstat (limited to 'llvm/lib/Analysis/CostModel.cpp')
0 files changed, 0 insertions, 0 deletions