summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2014-10-21 23:45:37 +0000
committerNick Kledzik <kledzik@apple.com>2014-10-21 23:45:37 +0000
commit9133f8c76d27c350bfc625319558f2f9cd2f8c03 (patch)
tree853506ab3a411944516ddae784a11f7dd54f49cc /llvm/lib/Transforms
parent41d95947cfc4b143cd0ca922e93cc582a6d10e96 (diff)
downloadbcm5719-llvm-9133f8c76d27c350bfc625319558f2f9cd2f8c03.tar.gz
bcm5719-llvm-9133f8c76d27c350bfc625319558f2f9cd2f8c03.zip
[mach-o] Support missing MH_SUBSECTIONS_VIA_SYMBOLS
All compiler generated mach-o object files are marked with MH_SUBSECTIONS_VIA_SYMBOLS. But hand written assembly files need to opt-in if they are written correctly. The flag means the linker can break up a sections at symbol addresses and dead strip or re-order functions. This change recognizes object files without the flag and marks its atoms as not dead strippable and adds a layout-after chain of references so that the atoms cannot be re-ordered. llvm-svn: 220348
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud