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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9043 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-10-10 22:55:55 +00:00
parent be7f4afe47
commit 4dd7b4fbca

View File

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