summaryrefslogtreecommitdiffstats
path: root/libcxxabi/src/cxa_noexception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxxabi/src/cxa_noexception.cpp')
-rw-r--r--libcxxabi/src/cxa_noexception.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxxabi/src/cxa_noexception.cpp b/libcxxabi/src/cxa_noexception.cpp
index adda552b89f..8d5b5f2d00b 100644
--- a/libcxxabi/src/cxa_noexception.cpp
+++ b/libcxxabi/src/cxa_noexception.cpp
@@ -52,4 +52,9 @@ __cxa_uncaught_exceptions() throw() { return 0; }
} // extern "C"
+// provide dummy implementations for the 'no exceptions' case.
+uint64_t __getExceptionClass (const _Unwind_Exception*) { return 0; }
+void __setExceptionClass ( _Unwind_Exception*, uint64_t) {}
+bool __isOurExceptionClass(const _Unwind_Exception*) { return false; }
+
} // abi
OpenPOWER on IntegriCloud