[LLVMdev] Is llvm correct outputting the same data layout on Solaris i386 as on Linux i386 ?

Yuri yuri at rawbw.com
Wed Feb 2 13:01:41 PST 2011


On 02/02/2011 12:40, Anton Korobeynikov wrote:
>> Is Solaris ABI really the same on i386?
>>      
> Probably not. Also, note that the problem is not ABI alone, the
> layouts of different C stdlib structs might be different (e.g. FILE),
> etc.
>
>    

So how do I figure out what is the correct layout string would be on 
Solaris-i386?

stdlib structures? This depends on the calling code being aware of this. 
It its C++ code its supposed to know about this by itself from headers.

Yuri



More information about the llvm-dev mailing list