[CodeGen] Update a comment from NoSSA to IsSSA
[llvm-project.git] / libcxxabi / src / cxa_virtual.cpp
blobc868672e00af904420eb52a2b208ce168c89d9f4
1 //===----------------------------------------------------------------------===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
9 #include "cxxabi.h"
10 #include "abort_message.h"
12 namespace __cxxabiv1 {
13 extern "C" {
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!");
23 } // extern "C"
24 } // abi