summaryrefslogtreecommitdiff
path: root/auxhelper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'auxhelper.cc')
-rw-r--r--auxhelper.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/auxhelper.cc b/auxhelper.cc
index 213f8a0890f74..3e98da036a11d 100644
--- a/auxhelper.cc
+++ b/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();
+}