3 * - By John Hodge (thePowersGang)
8 * NOTE: GCC follows the Itaniumâ„¢ C++ ABI on all platforms
9 * http://mentorembedded.github.io/cxx-abi/abi.html
10 * http://libcxxabi.llvm.org/spec.html
13 #include <acess/sys.h>
15 namespace __cxxabiv1 {
18 // - No inheritance class
19 __class_type_info::~__class_type_info()
24 // - Single inheritance class
25 __si_class_type_info::~__si_class_type_info()
30 // - Multiple inheritance class
31 __vmi_class_type_info::~__vmi_class_type_info()
36 }; // namespace __cxxabiv1
38 extern "C" void __cxa_bad_cast ()
40 _SysDebug("__cxa_bad_cast");
42 //throw ::std::bad_cast;
45 extern "C" void __cxa_bad_typeid ()
47 _SysDebug("__cxa_bad_typeid");
49 //throw ::std::bad_typeid;
52 extern "C" void* __dynamic_cast(
54 const __cxxabiv1::__class_type_info *src,
55 const __cxxabiv1::__class_type_info *dst,
56 ptrdiff_t src2dst_offset
59 _SysDebug("TODO: __dynamic_cast %p %s to %s, hint=%p", sub, dst->name(), src->name(), src2dst_offset);