0
Files
src/base/nodebug_assertion.cc
Peter Boström 25c6ec7881 Rename IMMEDIATE_CRASH() -> base::ImmediateCrash()
This is now a [[noreturn]] function instead of a macro. The macro itself
is kept around for now to avoid having to revert this change in case
another IMMEDIATE_CRASH() is added or there exists such calls somewhere
outside src/ that I'm unaware of.

Bug: None
Change-Id: Ibc7921bf7302c94ce151c83a230af5f11fb7b71d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3999129
Reviewed-by: danakj <danakj@chromium.org>
Auto-Submit: Peter Boström <pbos@chromium.org>
Commit-Queue: danakj <danakj@chromium.org>
Owners-Override: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1066781}
2022-11-02 23:25:19 +00:00

18 lines
455 B
C++

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <__config>
#include "base/base_export.h"
#include "base/immediate_crash.h"
_LIBCPP_BEGIN_NAMESPACE_STD
_LIBCPP_NORETURN BASE_EXPORT void __libcpp_verbose_abort(char const* format,
...) {
base::ImmediateCrash();
}
_LIBCPP_END_NAMESPACE_STD