[LLVMdev] Wrong calling convention?

Evan Cheng
Wed, 26 Mar 2008 18:42:07 -0000

Take a look at llvm-gcc. Look for HandleAggregateShadowArgument.

Evan

On Mar 26, 2008, at 10:31 AM, Óscar Fuentes wrote:

> Óscar Fuentes <ofv at wanadoo.es> writes:
>
>> BTW, -fpcc-struct-return solves the case that motivated this thread.
>
> -fpcc-struct-return is an ABI change, hence it requires "compiling the
> world". Not acceptable.
>
> I'll be interested on hearing ideas about how to determine how a
> function returns a small struct, without knowing the internals of the
> struct.
>
> --
> Oscar
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev