1//===-------------------------- cxa_virtual.cpp ---------------------------===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is dual licensed under the MIT and the University of Illinois Open
6// Source Licenses. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#include "cxxabi.h"
11#include "abort_message.h"
12
13namespace __cxxabiv1
14{
15
16extern "C"
17{
18
19LIBCXXABI_NORETURN
20void __cxa_pure_virtual(void) {
21    abort_message("Pure virtual function called!");
22}
23
24LIBCXXABI_NORETURN
25void __cxa_deleted_virtual(void) {
26    abort_message("Deleted virtual function called!");
27}
28
29}  // extern "C"
30
31}  // abi
32