Coverage Report

Created: 2022-05-21 09:15

/Users/buildslave/jenkins/workspace/coverage/llvm-project/libcxx/src/assert.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 <__assert>
10
#include <__config>
11
#include <cstdio>
12
#include <cstdlib>
13
14
_LIBCPP_BEGIN_NAMESPACE_STD
15
16
_LIBCPP_WEAK
17
0
void __libcpp_assertion_handler(char const* __file, int __line, char const* __expression, char const* __message) {
18
0
  std::fprintf(stderr, "%s:%d: libc++ assertion '%s' failed. %s\n", __file, __line, __expression, __message);
19
0
  std::abort();
20
0
}
21
22
_LIBCPP_END_NAMESPACE_STD