[LLVMdev] Pass and return of large objects

Russell Wallace russell.wallace at gmail.com
Mon Mar 1 07:18:56 PST 2010


Oh... :(

Are there any plans to change this? It's needed for a correct
implementation of C, after all.

On Mon, Mar 1, 2010 at 3:14 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Russell,
>
>> Suppose you have something like 'struct foo { char data[10000000]; }',
>> and you want to pass such objects as function parameters, and return
>> them as function results, by value, does this currently work correctly
>> on all supported target platforms?
>
> as far as I know this only works on x86, and only with LLVM from svn.
>
> Ciao,
>
> Duncan.
> _______________________________________________
> 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