This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Structured Exception Handling in gcc
- From: Ian Lance Taylor <iant at google dot com>
- To: "Rodrigo Dominguez" <roddomi at hotmail dot com>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Tue, 15 Apr 2008 17:06:56 -0700
- Subject: Re: Structured Exception Handling in gcc
- References: <BAY109-DAV7D27C8D29B230AF9CEFD7B9EA0@phx.gbl>
"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