| Index: third_party/tcmalloc/chromium/src/google/malloc_hook.h
|
| ===================================================================
|
| --- third_party/tcmalloc/chromium/src/google/malloc_hook.h (revision 41942)
|
| +++ third_party/tcmalloc/chromium/src/google/malloc_hook.h (working copy)
|
| @@ -191,6 +191,12 @@
|
| int skip_count) {
|
| return MallocHook_GetCallerStackTrace(result, max_depth, skip_count);
|
| }
|
| +
|
| + // Unhooked versions of mmap() and munmap(). These should be used
|
| + // only by experts, since they bypass heapchecking, etc.
|
| + static void* UnhookedMMap(void *start, size_t length, int prot, int flags,
|
| + int fd, off_t offset);
|
| + static int UnhookedMUnmap(void *start, size_t length);
|
| };
|
|
|
| #endif /* _MALLOC_HOOK_H_ */
|
|
|