root/third_party/tcmalloc/chromium/src/base/abort.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// ---
// On some platforms abort() is implemented in a way that Chrome's crash
// reporter treats it as a normal exit. See issue:
// http://code.google.com/p/chromium/issues/detail?id=118665
// So we replace abort with a segmentation fault, then crash reporter can
// always detect.

#ifndef BASE_ABORT_H_
#define BASE_ABORT_H_

namespace tcmalloc {
void Abort();
} // namespace tcmalloc

#endif  // BASE_ABORT_H_

/* [<][>][^][v][top][bottom][index][help] */