summaryrefslogtreecommitdiff
path: root/AK/Assertions.cpp
blob: 6f40a0b085f2a43fa18eae4e9cf2d43cbff27dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#include <AK/Assertions.h>
#include <AK/Format.h>

#if !defined(KERNEL)
extern "C" {

void ak_verification_failed(char const* message)
{
    dbgln("VERIFICATION FAILED: {}", message);
    __builtin_trap();
}
}

#endif