1
//===------------------------ cxa_aux_runtime.cpp -------------------------===//
3
// The LLVM Compiler Infrastructure
5
// This file is dual licensed under the MIT and the University of Illinois Open
6
// Source Licenses. See LICENSE.TXT for details.
9
// This file implements the "Auxiliary Runtime APIs"
10
// http://www.codesourcery.com/public/cxx-abi/abi-eh.html#cxx-aux
11
//===----------------------------------------------------------------------===//
23
void __cxa_bad_cast (void) {
24
throw std::bad_cast();
28
void __cxa_bad_typeid(void) {
29
throw std::bad_typeid();