mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
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:
parent
be7f4afe47
commit
4dd7b4fbca
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user