diff options
Diffstat (limited to 'base/allocator')
-rw-r--r-- | base/allocator/allocator.gyp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/base/allocator/allocator.gyp b/base/allocator/allocator.gyp index a1ad04d..64b1159 100644 --- a/base/allocator/allocator.gyp +++ b/base/allocator/allocator.gyp @@ -354,6 +354,17 @@ '<(tcmalloc_dir)/src/debugallocation.cc', ], }], + [ 'linux_keep_shadow_stacks==1', { + 'sources': [ + '<(tcmalloc_dir)/src/linux_shadow_stacks.cc', + '<(tcmalloc_dir)/src/linux_shadow_stacks.h', + '<(tcmalloc_dir)/src/stacktrace_shadow-inl.h', + ], + 'cflags': [ + '-finstrument-functions', + '-DKEEP_SHADOW_STACKS', + ], + }], [ 'linux_use_heapchecker==0', { # Do not compile and link the heapchecker source. 'sources!': [ |