Coverage Report

Created: 2025-08-26 06:39

/src/llvm-project-18.1.8.src/libcxxabi/src/cxa_virtual.cpp
Line
Count
Source (jump to first uncovered line)
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
//===----------------------------------------------------------------------===//
8
9
#include "cxxabi.h"
10
#include "abort_message.h"
11
12
namespace __cxxabiv1 {
13
extern "C" {
14
_LIBCXXABI_FUNC_VIS _LIBCXXABI_NORETURN
15
0
void __cxa_pure_virtual(void) {
16
0
  abort_message("Pure virtual function called!");
17
0
}
18
19
_LIBCXXABI_FUNC_VIS _LIBCXXABI_NORETURN
20
0
void __cxa_deleted_virtual(void) {
21
0
  abort_message("Deleted virtual function called!");
22
0
}
23
} // extern "C"
24
} // abi