Actually pass in a pointer to the thrown object, not a pointer to the

exception header.  This is the final missing piece from the PR#27 puzzle.

llvm-svn: 9043
This commit is contained in:
Chris Lattner 2003-10-10 22:55:55 +00:00
parent 969378468e
commit 3f647b8bc0
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ static void cxx_destructor(llvm_exception *LE) /* might throw */{
// Run the exception object dtor if it exists. */ // Run the exception object dtor if it exists. */
if (E->ExceptionObjectDestructor) if (E->ExceptionObjectDestructor)
E->ExceptionObjectDestructor(E); E->ExceptionObjectDestructor(E+1);
} }
// __llvm_cxxeh_throw - Given a pointer to memory which has an exception object // __llvm_cxxeh_throw - Given a pointer to memory which has an exception object