diff options
author | Chris Dewhurst <chris.dewhurst@lero.ie> | 2016-06-08 14:47:25 +0000 |
---|---|---|
committer | Chris Dewhurst <chris.dewhurst@lero.ie> | 2016-06-08 14:47:25 +0000 |
commit | 7e7ee962f6894c5ca0088e5a9aea35f736aa0f1a (patch) | |
tree | 40d0814be2d5d88b3ea73801fc2ad21860101513 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp | |
parent | ea61147fc7d6021c493cf637033ca47813ad5f7e (diff) | |
download | bcm5719-llvm-7e7ee962f6894c5ca0088e5a9aea35f736aa0f1a.tar.gz bcm5719-llvm-7e7ee962f6894c5ca0088e5a9aea35f736aa0f1a.zip |
[Sparc] Complex return value ABI compliance.
According to the Sparc V8 ABI, complex numbers should be passed and returned as pairs of registers:
https://docs.oracle.com/cd/E26502_01/html/E28387/gentextid-2734.html
This fix ensures this is the case. Without this, complex numbers are returned as a struct of two floats, which breaks the ABI rules.
Differential Review: http://reviews.llvm.org/D20955
llvm-svn: 272149
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/main.cpp')
0 files changed, 0 insertions, 0 deletions