diff options
author | Devtools Arcadia <arcadia-devtools@yandex-team.ru> | 2022-02-07 18:08:42 +0300 |
---|---|---|
committer | Devtools Arcadia <arcadia-devtools@mous.vla.yp-c.yandex.net> | 2022-02-07 18:08:42 +0300 |
commit | 1110808a9d39d4b808aef724c861a2e1a38d2a69 (patch) | |
tree | e26c9fed0de5d9873cce7e00bc214573dc2195b7 /contrib/libs/cxxsupp/libgcc/cxxabi.cpp | |
download | ydb-1110808a9d39d4b808aef724c861a2e1a38d2a69.tar.gz |
intermediate changes
ref:cde9a383711a11544ce7e107a78147fb96cc4029
Diffstat (limited to 'contrib/libs/cxxsupp/libgcc/cxxabi.cpp')
-rw-r--r-- | contrib/libs/cxxsupp/libgcc/cxxabi.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/libs/cxxsupp/libgcc/cxxabi.cpp b/contrib/libs/cxxsupp/libgcc/cxxabi.cpp new file mode 100644 index 00000000000..fdb85e15af5 --- /dev/null +++ b/contrib/libs/cxxsupp/libgcc/cxxabi.cpp @@ -0,0 +1,13 @@ +#include "cxxabi.h" + +#include <new> + +extern "C" { + void __cxa_throw_bad_array_length() { + throw std::bad_alloc(); + } + + void __cxa_throw_bad_array_new_length() { + throw std::bad_alloc(); + } +} |