[LLVMdev] Wrong calling convention?

Evan Cheng evan.cheng at apple.com
Wed Mar 26 11:42:07 PDT 2008


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





More information about the llvm-dev mailing list