[Issue 673] ABI as documented is 32 bit specific.. how about 64 bits?
Don Clugston
dac at nospam.com.au
Wed Dec 13 00:50:39 PST 2006
d-bugmail at puremagic.com wrote:
> http://d.puremagic.com/issues/show_bug.cgi?id=673
>
>
>
>
>
> ------- Comment #7 from fvbommel at wxs.nl 2006-12-12 13:06 -------
>> Having loads of separate ABIs would make them a nightmare to maintain. Just
>> have one basic ABI, with variations only where really necessary. In the case
>> of EH, state that it's compatible with the platform's own exception handling
>> mechanism, and then describe it more specifically for each platform as
>> necessary.
>
> One tiny problem: it's not 'compatible' with the platform's own exception
> handling on Linux, for so far as there is one. Dmd-linux uses its own custom
> exception handling, incompatible with the one used by GCC and compatibles.
> I seem to recall Walter stating this was because he couldn't figure out how
> that ABI worked so he rolled his own...
By my reading of the Win64 ABI, I'm not confident that D will able to
use standard Win64 exception handling, either. The ABI seems to ignore
the possibility of nested functions. I could be wrong about this,
though, I didn't read it very carefully.
More information about the Digitalmars-d-bugs
mailing list