blob: 30bbb9eb4510614013e3ec5f6f558355c4d0d149 [file] [log] [blame]
Ken Russell538bdbc2018-01-25 18:13:071// Copyright 2018 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef CONTENT_RENDERER_CRASH_HELPERS_H_
6#define CONTENT_RENDERER_CRASH_HELPERS_H_
7
8#include "base/compiler_specific.h"
9
10namespace content {
11
12namespace internal {
13
14// These functions are defined in a separate file from the calling
15// file to try to prevent the compiler from inlining them. Some tests
16// which verify crashpad, and stack symbolization from minidumps,
17// expect to find the names of these functions.
18
19NOINLINE void CrashIntentionally();
20NOINLINE void BadCastCrashIntentionally();
21
22} // namespace internal
23
24} // namespace content
25
26#endif // CONTENT_RENDERER_CRASH_HELPERS_H_