| Index: base/allocator/allocator.gyp
|
| diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp
|
| index ae93e9e03ca902fb8a10e66e1c2230f47a7d8ae7..87bf8d229d57625bd0e0861d17a2a589a8677fd7 100644
|
| --- a/base/allocator/allocator.gyp
|
| +++ b/base/allocator/allocator.gyp
|
| @@ -227,6 +227,7 @@
|
| '<(tcmalloc_dir)/src/thread_cache.h',
|
|
|
| 'debugallocation_shim.cc',
|
| + 'tcmalloc_extension.cc',
|
| ],
|
| # sources! means that these are not compiled directly.
|
| 'sources!': [
|
| @@ -337,6 +338,8 @@
|
| '-Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapPKvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi',
|
| '-Wl,-u_Z21InitialMallocHook_NewPKvm,-u_Z22InitialMallocHook_MMapPKvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl',
|
| '-Wl,-u_ZN15HeapLeakChecker12IgnoreObjectEPKv,-u_ZN15HeapLeakChecker14UnIgnoreObjectEPKv',
|
| + # For InitializeAllocatorWeak function implementation for tcmalloc.
|
| + '-Wl,-u_ZN4base9allocator23InitializeAllocatorWeakEv',
|
| ]},
|
| }],
|
| [ 'use_vtable_verify==1', {
|
|
|