aboutsummaryrefslogtreecommitdiff
path: root/runtime/GCCLibraries/libexception/C++-Exception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/GCCLibraries/libexception/C++-Exception.cpp')
-rw-r--r--runtime/GCCLibraries/libexception/C++-Exception.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/GCCLibraries/libexception/C++-Exception.cpp b/runtime/GCCLibraries/libexception/C++-Exception.cpp
index 01a72d0e55..5e58930114 100644
--- a/runtime/GCCLibraries/libexception/C++-Exception.cpp
+++ b/runtime/GCCLibraries/libexception/C++-Exception.cpp
@@ -214,6 +214,10 @@ void __llvm_cxxeh_end_catch() /* might throw */ {
E->ExceptionDestructor(E); // Release memory for the exception
}
+void __llvm_cxxeh_call_terminate() throw() {
+ __terminate(__terminate_handler);
+}
+
// __llvm_cxxeh_rethrow - This function turns the top-level caught exception
// into an uncaught exception, in preparation for an llvm.unwind, which should