diff --git a/libcxxabi/include/cxxabi.h b/libcxxabi/include/cxxabi.h index af0e0003636d00746de0fd95a6a814ae329ba2d7..79b559748841c3f2732461dafd6d97810dba6715 100644 --- a/libcxxabi/include/cxxabi.h +++ b/libcxxabi/include/cxxabi.h @@ -34,8 +34,8 @@ extern void * __cxa_allocate_exception(size_t thrown_size) throw(); extern void __cxa_free_exception(void * thrown_exception) throw(); // 2.4.3 Throwing the Exception Object -extern void __cxa_throw(void * thrown_exception, struct std::type_info * tinfo, - void (*dest)(void *)); +extern LIBCXXABI_NORETURN void __cxa_throw(void * thrown_exception, + std::type_info * tinfo, void (*dest)(void *)); // 2.5.3 Exception Handlers extern void * __cxa_get_exception_ptr(void * exceptionObject) throw(); @@ -44,7 +44,7 @@ extern void __cxa_end_catch(); extern std::type_info * __cxa_current_exception_type(); // 2.5.4 Rethrowing Exceptions -extern void __cxa_rethrow(); +extern LIBCXXABI_NORETURN void __cxa_rethrow();