summaryrefslogtreecommitdiffstats
path: root/contrib/libcxxrt/auxhelper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libcxxrt/auxhelper.cc')
-rw-r--r--contrib/libcxxrt/auxhelper.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/libcxxrt/auxhelper.cc b/contrib/libcxxrt/auxhelper.cc
index 213f8a0..3e98da0 100644
--- a/contrib/libcxxrt/auxhelper.cc
+++ b/contrib/libcxxrt/auxhelper.cc
@@ -75,3 +75,8 @@ extern "C" void __cxa_deleted_virtual()
{
abort();
}
+
+extern "C" void __cxa_throw_bad_array_new_length()
+{
+ throw std::bad_array_new_length();
+}
OpenPOWER on IntegriCloud