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

Side by Side Diff: base/allocator/debugallocation_shim.cc

Issue 11266019: Use tcmalloc's debugallocation for Debug builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable by default Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/allocator/allocator_shim.cc ('k') | build/common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/test/main_hook.h" 5 #if defined(TCMALLOC_FOR_DEBUGALLOCATION)
6 6 #include "third_party/tcmalloc/chromium/src/debugallocation.cc"
7 #if !defined(OS_IOS) 7 #else
8 MainHook::MainHook(MainType main_func, int argc, char* argv[]) {} 8 #include "third_party/tcmalloc/chromium/src/tcmalloc.cc"
9 #endif 9 #endif
OLDNEW
« no previous file with comments | « base/allocator/allocator_shim.cc ('k') | build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698