chromium/v8/src/base/abort-mode.h

// Copyright 2023 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// This file describes the way aborts are handled in OS::Abort and the way
// DCHECKs are working.

#ifndef V8_BASE_ABORT_MODE_H_
#define V8_BASE_ABORT_MODE_H_

#include "src/base/base-export.h"

namespace v8 {
namespace base {

enum class AbortMode {};

V8_BASE_EXPORT extern AbortMode g_abort_mode;

V8_INLINE bool ControlledCrashesAreHarmless() {}

V8_INLINE bool DcheckFailuresAreIgnored() {}

}  // namespace base
}  // namespace v8

#endif  // V8_BASE_ABORT_MODE_H_