]> granicus.if.org Git - clang/commit
[ARM] Pass subtarget feature "+long-calls" instead of passing backend option
authorAkira Hatanaka <ahatanaka@apple.com>
Tue, 7 Jul 2015 06:42:05 +0000 (06:42 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Tue, 7 Jul 2015 06:42:05 +0000 (06:42 +0000)
commit51c58cc2988f8e00bd311075081f7003f2ad69cf
tree18c9731f9c9c4df9dd50f85bfb5d52adf1c3613b
parentf1ba8ae2199185357c4ed6e2de5b0fc42713162a
[ARM] Pass subtarget feature "+long-calls" instead of passing backend option
"-arm-long-calls".

This change allows using -mlong-calls/-mno-long-calls for LTO and enabling or
disabling long call on a per-function basis.

rdar://problem/21529937

Differential Revision: http://reviews.llvm.org/D9414

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241565 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/CodeGen/arm-long-calls.c [new file with mode: 0644]
test/Driver/apple-kext-mkernel.c
test/Driver/arm-long-calls.c