blob: 987cbe339ef52717d6c6425309bf18cbf046f600 [file] [log] [blame] [edit]
// Copyright 2023 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <zircon/assert.h>
#include <__verbose_abort>
// TODO(fxbug.dev/130483): These should print something useful instead of just crashing.
extern "C" void __assert_fail(const char*, const char*, int, const char*) { __builtin_trap(); }
extern "C" void __zx_panic(const char* format, ...) { __builtin_trap(); }
[[gnu::alias("__zx_panic")]] void std::__libcpp_verbose_abort(const char* format, ...);