diff options
author | Marshall Clow <mclow@qualcomm.com> | 2011-07-20 14:27:46 +0000 |
---|---|---|
committer | Marshall Clow <mclow@qualcomm.com> | 2011-07-20 14:27:46 +0000 |
commit | 703d148d5994d7a1cd189dc57acc7704f48fbd13 (patch) | |
tree | dcf238593a1ac3a80e4da59a13ad77d0db68a421 /include | |
parent | 3c883588c333dd2baa1722afcb2130c5157c6748 (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/cxxabi.h | 6 |
1 files changed, 3 insertions, 3 deletions
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_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(); |