Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / tcmalloc / chromium / src / base / abort.h
blob18ec319ca56bc2429a9821044425b938e943439b
1 // Copyright (c) 2012 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 // ---
6 // On some platforms abort() is implemented in a way that Chrome's crash
7 // reporter treats it as a normal exit. See issue:
8 // http://code.google.com/p/chromium/issues/detail?id=118665
9 // So we replace abort with a segmentation fault, then crash reporter can
10 // always detect.
12 #ifndef BASE_ABORT_H_
13 #define BASE_ABORT_H_
15 namespace tcmalloc {
16 void Abort();
17 } // namespace tcmalloc
19 #endif // BASE_ABORT_H_