We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0e601c commit c6efc83Copy full SHA for c6efc83
objcxx_eh.cc
@@ -558,7 +558,8 @@ void objc_exception_throw(id object)
558
objc_retain(object);
559
DEBUG_LOG("objc_exception_throw: Throwing 0x%x\n", *exc);
560
561
-#ifdef _LIBCPP_VERSION
+#ifndef __GLIBCXX__
562
+ // At the moment, only libstdc++ exposes __cxa_init_primary_exception
563
__cxa_throw(exc, & __objc_id_type_info, eh_cleanup);
564
#else
565
__cxa_eh_globals *globals = __cxa_get_globals ();
0 commit comments