tcmalloc: allocator: add use_experimental_allocator_shim build flag
Original CL: - https://codereview.chromium.org/1678893002 allocator: add use_experimental_allocator_shim build flag This CL introduces a new GYP/GN build flag use_experimental_allocator_shim (default: false). After this CL, the only side-effect of that flag is that tcmalloc does not override anymore the libc symbols (malloc, new etc.). This is in preparation of a unified shim layer, which will come separately in upcoming CLs, which will take care of overriding those symbols in Chrome. Design doc: http://bit.ly/allocator-shim BUG=550886 Committed: https://crrev.com/3217078aa86523fb341e0cf2b0c49d55434b534a Cr-Commit-Position: refs/heads/master@{#374449} BUG=724399,b:70905156 Change-Id: Iaa205ec87dc160a2e738cc0d9adfe3c66acb12d9 Reviewed-on: https://chromium-review.googlesource.com/1130785 Commit-Queue: Gabriel Marin <gmx@chromium.org> Reviewed-by:Primiano Tucci <primiano@chromium.org> Reviewed-by:
Will Harris <wfh@chromium.org> Cr-Commit-Position: refs/heads/master@{#580319}
Showing
Please register or sign in to comment