[Mono-devel-list] RAPGO Proposal

Jonathan Pryor jonpryor at vt.edu
Tue Nov 30 21:09:26 EST 2004

On Tue, 2004-11-30 at 14:45 +0100, Willibald Krenn wrote:
> AMD64 also has a standardized interface for stack-unwinding (=exception 
> handling; I guess it was inspired by IA64.)

Just because there's a standardized interface doesn't mean it has to be
used. :-)  I wonder if Windows Structured Exception Handling uses it...


> But you can not catch exceptions with C-only code. This is because the 
> C++ compiler generates special unwind-information (AFAIK in dwarf2 
> format) and exception handling is dependand on this information.

That would be an argument for extending the C language.  Would anyone
else like MSVC-style __try/__catch/__finally blocks?  Or am I just a
sick bastard?

> BTW: On Linux-AMD64 it's possible (as  probably in IA64) that different 
> compilers can catch exceptions thrown in modules compiled with 'foreign' 
> C++/whatever compilers.

This only requires that the compilers agree in the C++ ABI.

 - Jon

More information about the Mono-devel-list mailing list