We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67fa4c1 commit 1801e94Copy full SHA for 1801e94
system/lib/libcxxabi/src/cxa_noexception.cpp
@@ -75,6 +75,12 @@ void __cxa_free_exception(void *thrown_object) throw() {
75
free((void *)raw_buffer);
76
}
77
78
+// This function is called from make_exception_ptr in libcxx unless
79
+// -fno-exceptions is not given. We have definitions of this function in
80
+// cxa_exception.cpp and cxa_exception_emscripten.cpp, but unlike other
81
+// platforms, we use those files only when one of Emscripten EH or Wasm EH is
82
+// used, and we use this cxa_noexceptions.cpp in case of -fignore-exceptions,
83
+// which is our default. So we add a definition here to prevent a link failure.
84
__cxa_exception*
85
__cxa_init_primary_exception(void* object,
86
std::type_info* tinfo,
0 commit comments