diff options
author | anonymous <local@localhost> | 2011-01-04 04:32:24 +0600 |
---|---|---|
committer | anonymous <local@localhost> | 2011-01-04 04:33:51 +0600 |
commit | 36d91e1f88660a8b11147a15a05c60b8f0f0d9f0 (patch) | |
tree | 006f2719b0b57f5ff3e33844cdd6d1a916403641 | |
parent | 0f29a300da1302eb27b0c5f561834d3a7ce5dfe4 (diff) | |
download | libcxxrt-36d91e1f88660a8b11147a15a05c60b8f0f0d9f0.tar.gz libcxxrt-36d91e1f88660a8b11147a15a05c60b8f0f0d9f0.tar.bz2 libcxxrt-36d91e1f88660a8b11147a15a05c60b8f0f0d9f0.tar.xz |
fix for COMPILER-8902: terminate handler should be called if it was set using std::set_terminate
-rw-r--r-- | src/exception.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exception.cc b/src/exception.cc index ecc3732..740eee4 100644 --- a/src/exception.cc +++ b/src/exception.cc @@ -488,7 +488,7 @@ extern "C" void __cxa_throw(void *thrown_exception, info->globals.uncaughtExceptions++; _Unwind_Reason_Code err = _Unwind_RaiseException(&ex->unwindHeader); - report_failure(err, thrown_exception); + std::terminate(); } /** |