diff options
Diffstat (limited to 'runtime/GCCLibraries')
-rw-r--r-- | runtime/GCCLibraries/crtend/C++-Exception.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/GCCLibraries/crtend/C++-Exception.cpp b/runtime/GCCLibraries/crtend/C++-Exception.cpp index ad9f7a5..ce7f0d4 100644 --- a/runtime/GCCLibraries/crtend/C++-Exception.cpp +++ b/runtime/GCCLibraries/crtend/C++-Exception.cpp @@ -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 |