Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: third_party/tcmalloc/chromium/src/base/atomicops-internals-arm-generic.h

Issue 10384117: Add a chromium version abort function for tcmalloc: Abort(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/tcmalloc/chromium/src/base/atomicops-internals-arm-generic.h
===================================================================
--- third_party/tcmalloc/chromium/src/base/atomicops-internals-arm-generic.h (revision 135692)
+++ third_party/tcmalloc/chromium/src/base/atomicops-internals-arm-generic.h (working copy)
@@ -38,7 +38,7 @@
#define BASE_ATOMICOPS_INTERNALS_ARM_GENERIC_H_
#include <stdio.h>
-#include <stdlib.h>
+#include "base/abort.h"
#include "base/basictypes.h"
typedef int32_t Atomic32;
@@ -160,7 +160,7 @@
inline void NotImplementedFatalError(const char *function_name) {
fprintf(stderr, "64-bit %s() not implemented on this platform\n",
function_name);
- abort();
+ tcmalloc::Abort();
}
inline Atomic64 NoBarrier_CompareAndSwap(volatile Atomic64* ptr,

Powered by Google App Engine
This is Rietveld 408576698