On Mon, Apr 16, 2007 at 10:25:34AM -0700, Joe Buck wrote: > See > > http://www.codesourcery.com/cxx-abi/abi-eh.html > > Despite the fact that this document is called "Itanium C++ ABI", g++ uses > this approach on most platforms, including x86 (there is another > implementation supported by GCC, "SJLJ exception handling", based on > setjmp/longjmp.
I take that back: though much of this document is generally applicable, there's ia64-specific stuff in the section I pointed to. Nevertheless, it should help give you some insight on how exceptions are implemented that does apply more generally.