Fixed struct/class mismatch for std::type_info and added NORETURN flags
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@135584 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/cxxabi.h b/include/cxxabi.h
index af0e000..79b5597 100644
--- a/include/cxxabi.h
+++ b/include/cxxabi.h
@@ -34,8 +34,8 @@
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 std::type_info * __cxa_current_exception_type();
// 2.5.4 Rethrowing Exceptions
-extern void __cxa_rethrow();
+extern LIBCXXABI_NORETURN void __cxa_rethrow();