diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-24 20:01:50 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-06-24 20:01:50 +0000 |
| commit | 8ebce3b9ae8b8789154837058220050c4f3de931 (patch) | |
| tree | f70cb5c23b40aef8ce1340ab89f8e75c6c8d3300 /test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap/module.modulemap | |
| parent | 2f672ba97bc9f2fcc0e6ac57b3c7201c945eb995 (diff) | |
| download | clang-8ebce3b9ae8b8789154837058220050c4f3de931.tar.gz clang-8ebce3b9ae8b8789154837058220050c4f3de931.tar.bz2 clang-8ebce3b9ae8b8789154837058220050c4f3de931.tar.xz | |
Correctly Load Mixed FP-GP Variadic Arguments for x86-64.
According to the x86-64 ABI, structures with both floating point and
integer members are split between floating-point and general purpose
registers, and consecutive 32-bit floats can be packed into a single
floating point register.
In the case of variadic functions these are stored to memory and the position
recorded in the va_list. This was already correctly implemented in
llvm.va_start.
The problem is that the code in clang for implementing va_arg was reading
floating point registers from the wrong location.
Patch by Thomas Jablin.
Fixes PR20018.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211626 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap/module.modulemap')
0 files changed, 0 insertions, 0 deletions
