aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/MemoryBuiltins.cpp
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2016-01-04 22:29:36 +0000
committerPete Cooper <peter_cooper@apple.com>2016-01-04 22:29:36 +0000
commitbd364ce6945829b3ca124d4f1600ec5c6ec0cc80 (patch)
tree2545f3d54fa7c806d4688630cbf0aa4b07d18528 /llvm/lib/Analysis/MemoryBuiltins.cpp
parent204efe2de83bc5dd2fae89c272d562560e4568bd (diff)
downloadllvm-bd364ce6945829b3ca124d4f1600ec5c6ec0cc80.zip
llvm-bd364ce6945829b3ca124d4f1600ec5c6ec0cc80.tar.gz
llvm-bd364ce6945829b3ca124d4f1600ec5c6ec0cc80.tar.bz2
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/lib/Analysis/MemoryBuiltins.cpp')
0 files changed, 0 insertions, 0 deletions