forked from OSchip/llvm-project
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:
parent
969378468e
commit
3f647b8bc0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue