]> granicus.if.org Git - clang/commit
[ARM] Pass subtarget feature "+strict-align".
authorAkira Hatanaka <ahatanaka@apple.com>
Tue, 28 Jul 2015 22:26:45 +0000 (22:26 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Tue, 28 Jul 2015 22:26:45 +0000 (22:26 +0000)
commit036f393cf9b27282c1991aead4fb4a312891c86f
treec585ec9e269b20550d29ff867a0b5c1418050f47
parenta98c7228568870c272fa20579b64e8f512fe229d
[ARM] Pass subtarget feature "+strict-align".

This commit changes the driver to save subtarget feature "+strict-align" to the
IR instead of using backend option "arm-strict-align". This is needed for LTO.

Also, move the logic in ARM backend that was deciding whether strict alignment
should be forced to the front-end.

rdar://problem/21529937

http://reviews.llvm.org/D11472

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@243489 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/apple-kext-mkernel.c
test/Driver/arm-alignment.c