diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-12-21 23:48:05 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-12-21 23:48:05 +0000 |
commit | 22f28b2d52f69b75a5606e0d00ca2cc7d3849dc7 (patch) | |
tree | b431280e45cd0090487c278381b44d4fb771e535 /libcxxabi/src/cxa_exception.cpp | |
parent | 960534c86652caa52e18beb1dcb00c3e58d4cb72 (diff) | |
download | bcm5719-llvm-22f28b2d52f69b75a5606e0d00ca2cc7d3849dc7.tar.gz bcm5719-llvm-22f28b2d52f69b75a5606e0d00ca2cc7d3849dc7.zip |
Forgot to increment uncaughtExceptions in __cxa_rethrow_primary_exception
llvm-svn: 147108
Diffstat (limited to 'libcxxabi/src/cxa_exception.cpp')
-rw-r--r-- | libcxxabi/src/cxa_exception.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxxabi/src/cxa_exception.cpp b/libcxxabi/src/cxa_exception.cpp index 9df0564bd0d..2ee146ab28b 100644 --- a/libcxxabi/src/cxa_exception.cpp +++ b/libcxxabi/src/cxa_exception.cpp @@ -434,6 +434,7 @@ __cxa_rethrow_primary_exception(void* thrown_object) 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); |