summaryrefslogtreecommitdiffstats
path: root/third_party/tcmalloc
diff options
context:
space:
mode:
authortimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-29 18:31:41 +0000
committertimurrrr@chromium.org <timurrrr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-29 18:31:41 +0000
commit2326c76cd7fc51f691e6891cb5327afa8bf361e9 (patch)
treed6d091f2f8a5ce494d56913d21c131331a64463e /third_party/tcmalloc
parente1212b6f8e045fd5351d2561a214e5fb84e71b21 (diff)
downloadchromium_src-2326c76cd7fc51f691e6891cb5327afa8bf361e9.zip
chromium_src-2326c76cd7fc51f691e6891cb5327afa8bf361e9.tar.gz
chromium_src-2326c76cd7fc51f691e6891cb5327afa8bf361e9.tar.bz2
Disable the -fvisibility=hidden flag for tcmalloc
This is necessary to fix the crashes of binaries linked with tcmalloc. The patch was prepared by Alexander Potapenko (cc'ed) Originally reviewed as http://codereview.chromium.org/343037 Review URL: http://codereview.chromium.org/342039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30479 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/tcmalloc')
-rw-r--r--third_party/tcmalloc/tcmalloc.gyp3
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/tcmalloc/tcmalloc.gyp b/third_party/tcmalloc/tcmalloc.gyp
index 326ba77..0e6a934 100644
--- a/third_party/tcmalloc/tcmalloc.gyp
+++ b/third_party/tcmalloc/tcmalloc.gyp
@@ -232,6 +232,9 @@
# TODO(willchan): Unfork linux.
'tcmalloc/src/malloc_hook.cc',
],
+ 'cflags!': [
+ '-fvisibility=hidden',
+ ],
'link_settings': {
'ldflags': [
# Don't let linker rip this symbol out, otherwise the heap&cpu