1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 #include "abort_message.h"
12 namespace __cxxabiv1
{
14 _LIBCXXABI_FUNC_VIS _LIBCXXABI_NORETURN
15 void __cxa_pure_virtual(void) {
16 abort_message("Pure virtual function called!");
19 _LIBCXXABI_FUNC_VIS _LIBCXXABI_NORETURN
20 void __cxa_deleted_virtual(void) {
21 abort_message("Deleted virtual function called!");