diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2014-04-21 01:23:39 +0000 |
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2014-04-21 01:23:39 +0000 |
| commit | c9b73d121f0f144f835cafa638a55b6321372c78 (patch) | |
| tree | 83a818b0c24e7e6b70fc523ab402c0fdba45db77 /lib/Basic/Module.cpp | |
| parent | 201871de18c6e1a21561a05bc8df7075777e5166 (diff) | |
| download | clang-c9b73d121f0f144f835cafa638a55b6321372c78.tar.gz clang-c9b73d121f0f144f835cafa638a55b6321372c78.tar.bz2 clang-c9b73d121f0f144f835cafa638a55b6321372c78.tar.xz | |
ARM64: Do not expand variadic HFA/HVA arguments with the Darwin ABI.
Unlike the standard AAPCS64 ABI, variadic arguments are always passed on the
stack with the Darwin ABI, and this was not being considered when deciding
whether to expand HFA/HVA arguments in a call. An HFA argument with a "float"
base type was being expanded into separate "float" arguments, each of which
was then extended to a double, resulting in a serious mismatch from what is
expected by the va_arg implementation. <rdar://problem/15777067>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206729 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions
