[LLVMdev] Wrong calling convention?

Óscar Fuentes ofv at wanadoo.es
Wed Mar 26 15:09:51 PDT 2008


Evan Cheng <evan.cheng at apple.com> writes:

>> 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.

> 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




More information about the llvm-dev mailing list