diff options
| author | Pete Cooper <peter_cooper@apple.com> | 2016-01-04 22:29:36 +0000 |
|---|---|---|
| committer | Pete Cooper <peter_cooper@apple.com> | 2016-01-04 22:29:36 +0000 |
| commit | bd364ce6945829b3ca124d4f1600ec5c6ec0cc80 (patch) | |
| tree | 2545f3d54fa7c806d4688630cbf0aa4b07d18528 /llvm/test/Transforms/InferFunctionAttrs | |
| parent | 204efe2de83bc5dd2fae89c272d562560e4568bd (diff) | |
| download | bcm5719-llvm-bd364ce6945829b3ca124d4f1600ec5c6ec0cc80.tar.gz bcm5719-llvm-bd364ce6945829b3ca124d4f1600ec5c6ec0cc80.zip | |
Sort sections in relocatable files.
The final section order in relocatable files was just a side effect
of the atom sorter. This meant that sections like __data were before
__text because __data has RW permissions and __text RX and RW was less
than RX in our enum.
Final linked images had an actual section/segment sorter. There was no
reason for the difference, so simplify a bunch of code and just use the
same sorted for everything.
Reviewed by Lang Hames.
http://reviews.llvm.org/D15868
llvm-svn: 256786
Diffstat (limited to 'llvm/test/Transforms/InferFunctionAttrs')
0 files changed, 0 insertions, 0 deletions

