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

Yuri
Wed, 02 Feb 2011 21:01:41 -0000

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