Typical C++ Exception Handling implementations

"Dave Rahardja" <drahardja@gmail.com>
3 Oct 2005 00:30:38 -0400

          From comp.compilers

Related articles
Typical C++ Exception Handling implementations drahardja@gmail.com (Dave Rahardja) (2005-10-03)
Re: Typical C++ Exception Handling implementations Ranjit.Mathew@oracle.com (Ranjit Mathew) (2005-10-04)
Re: Typical C++ Exception Handling implementations haberg@math.su.se (2005-10-06)
| List of all articles for this month |

From: "Dave Rahardja" <drahardja@gmail.com>
Newsgroups: comp.compilers
Date: 3 Oct 2005 00:30:38 -0400
Organization: http://groups.google.com
Keywords: C++, errors, question

Can someone share some ways that current compilers deal with the C++
exception handling mechanism? I'm especially curious about the
overheads associated with the various techniques.


In particular, I'd like to know:
- Ways to track which automatic objects have been constructed and need
to be destructed, and in which order
- If static-analysis methods exist, and what the relative overheads are
of such techniques versus run-time stack-bound methods
- Where the exception object is stored, and when it is constructed and
destructed
- Ways to match the exception object type against the catch handlers


-dr


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.