[cfe-commits] [libcxxabi] r147108 - /libcxxabi/trunk/src/cxa_exception.cpp
Howard Hinnant
hhinnant at apple.com
Wed Dec 21 15:48:05 PST 2011
Author: hhinnant
Date: Wed Dec 21 17:48:05 2011
New Revision: 147108
URL: http://llvm.org/viewvc/llvm-project?rev=147108&view=rev
Log:
Forgot to increment uncaughtExceptions in __cxa_rethrow_primary_exception
Modified:
libcxxabi/trunk/src/cxa_exception.cpp
Modified: libcxxabi/trunk/src/cxa_exception.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_exception.cpp?rev=147108&r1=147107&r2=147108&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_exception.cpp (original)
+++ libcxxabi/trunk/src/cxa_exception.cpp Wed Dec 21 17:48:05 2011
@@ -434,6 +434,7 @@
deh->unexpectedHandler = std::get_unexpected();
deh->terminateHandler = std::get_terminate();
setDependentExceptionClass(&deh->unwindHeader);
+ __cxa_get_globals()->uncaughtExceptions += 1;
deh->unwindHeader.exception_cleanup = dependent_exception_cleanup;
#if __arm__
_Unwind_SjLj_RaiseException(&deh->unwindHeader);
More information about the cfe-commits
mailing list