diff options
author | Oleg Ranevskyy <oranevskyy@accesssoftek.com> | 2016-05-13 14:45:57 +0000 |
---|---|---|
committer | Oleg Ranevskyy <oranevskyy@accesssoftek.com> | 2016-05-13 14:45:57 +0000 |
commit | 7232f66051711fedde2da162b9adabc820325fc7 (patch) | |
tree | 1cdee1697275bd590b419e51dbdf51a44c5bdad7 /lldb/packages/Python/lldbsuite/test/python_api/frame/main.c | |
parent | d51d9ecdcb7b4f4b7b83512073c3ecafa0eadd42 (diff) | |
download | bcm5719-llvm-7232f66051711fedde2da162b9adabc820325fc7.tar.gz bcm5719-llvm-7232f66051711fedde2da162b9adabc820325fc7.zip |
[CodeGen] Clang does not choose aapcs-vfp calling convention for ARM bare metal target with hard float (EABIHF)
Summary:
Clang does not detect `aapcs-vfp` for the EABIHF environment. The reason is that only GNUEABIHF is considered while choosing calling convention, EABIHF is ignored.
This causes clang to use `aapcs` for EABIHF and add the `arm_aapcscc` specifier to functions in generated IR.
The modified `arm-cc.c` test checks that no calling convention specifier is added to functions for EABIHF, which means the default one is used (`CallingConv::ARM_AAPCS_VFP`).
Reviewers: rengolin, compnerd, t.p.northover
Subscribers: aemerson, rengolin, asl, cfe-commits
Differential Revision: http://reviews.llvm.org/D20219
llvm-svn: 269419
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/frame/main.c')
0 files changed, 0 insertions, 0 deletions