By changing all of the throw() specs to noexcept I've been able to compile and link all of the source files into a dylib. Prior to this substitution the changed functions were calling __cxa_call_unexpected which isn't implemented yet. However in none of these cases do we actaully want __cxa_call_unexpected to be called. Primative buildit script added.
llvm-svn: 148880
Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project
Cr-Mirrored-Commit: abc770690a70c49c947e684bcfa10cce3ac24522
diff --git a/src/cxa_exception.hpp b/src/cxa_exception.hpp
index 88e3975..9cb5506 100644
--- a/src/cxa_exception.hpp
+++ b/src/cxa_exception.hpp
@@ -102,10 +102,10 @@
#endif
};
- extern "C" __cxa_eh_globals * __cxa_get_globals () throw();
- extern "C" __cxa_eh_globals * __cxa_get_globals_fast () throw();
+ extern "C" __cxa_eh_globals * __cxa_get_globals () noexcept;
+ extern "C" __cxa_eh_globals * __cxa_get_globals_fast () noexcept;
- extern "C" void * __cxa_allocate_dependent_exception () throw();
- extern "C" void __cxa_free_dependent_exception (void * dependent_exception) throw();
+ extern "C" void * __cxa_allocate_dependent_exception () noexcept;
+ extern "C" void __cxa_free_dependent_exception (void * dependent_exception) noexcept;
}
\ No newline at end of file