Structured Exception Handling in gcc

Ian Lance Taylor iant@google.com
Wed Apr 16 00:10:00 GMT 2008


"Rodrigo Dominguez" <roddomi@hotmail.com> writes:

> I am looking for information on how GCC implements Structured Exception
> Handling (try/catch) in C++ programs. I would really appreciate any pointers
> that helped me understand the internals.

gcc does not implement Structured Exception Handling in the Microsoft
C++ sense.

gcc does implement plain old C++ exception handling including
try/catch.  The ABI is documented here:

http://www.codesourcery.com/cxx-abi/abi-eh.html

Ignore the fact that this is labelled "Itanium," it's used for all
targets.

Ian



More information about the Gcc mailing list