search for: handlereturntyp

Displaying 5 results from an estimated 5 matches for "handlereturntyp".

Did you mean: handlereturntype
2011 Jul 11
1
[LLVMdev] type-system-rewrite branch landing tomorrow
...when we use llvm-gcc for arm-target. Because return type of function pointer p's is struct type T which has one element, llvm-gcc for arm target calls a function which tries to chang aggregate return type to inner element. (For example, C.HandleAggregateResultAsScalar(Ty); --> DefaultABI::HandleReturnType() function gcc/llvm-abi-default.cpp) In this case, infinite recursion is generated. So I made a patch. when function's return type is struct type and this struct type includes only function's pointer type as element, funtion's return type is not struct type's element and is stru...
2008 Mar 26
0
[LLVMdev] Wrong calling convention?
...deas about how to determine how a >> function returns a small struct, without knowing the internals of the >> struct. > Take a look at llvm-gcc. Look for HandleAggregateShadowArgument. This does not qualify as "without knowing the internals of the struct" :-) DefaultABI::HandleReturnType made an interesting reading, although it uses information which is unaccessible to my compiler. -- Oscar
2008 Mar 26
3
[LLVMdev] Wrong calling convention?
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
2011 Jul 09
2
[LLVMdev] type-system-rewrite branch landing tomorrow
On Sat, Jul 9, 2011 at 4:27 PM, Chris Lattner <clattner at apple.com> wrote: > I'm sorry, I've been away from the computer. I'll investigate this in the next half hour.  Thanks for the test cases! One more testcase, which might be of interest; crashes clang on x86-64: struct T { struct T (*p)(void); } t; -Eli
2011 Jul 10
0
[LLVMdev] type-system-rewrite branch landing tomorrow
On Jul 9, 2011, at 4:35 PM, Eli Friedman wrote: > On Sat, Jul 9, 2011 at 4:27 PM, Chris Lattner <clattner at apple.com> wrote: >> I'm sorry, I've been away from the computer. I'll investigate this in the next half hour. Thanks for the test cases! > > One more testcase, which might be of interest; crashes clang on x86-64: > > struct T { > struct T