[PATCH] X86 ABI fix for return values > 24 bytes.
atrick at apple.com
Wed Feb 4 10:11:58 PST 2015
The return value's address must be returned in %rax.
i.e. the callee needs to copy the sret argument (%rdi)
into the return value (%rax).
This probably won't manifest as a bug when the caller is LLVM-compiled
code. But it is an ABI guarantee and tools expect it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3525 bytes
Desc: not available
More information about the llvm-commits