diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-31 02:28:09 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-31 02:28:09 +0000 |
commit | 889da7e472266a9b32b0ad75fa3d399fc1e16309 (patch) | |
tree | aab3cd8b4b1c37e819c0f0f1e95216fee50ab17f /build | |
parent | f7adea03bde76bbb9824370649363ed198a7b9fe (diff) | |
download | chromium_src-889da7e472266a9b32b0ad75fa3d399fc1e16309.zip chromium_src-889da7e472266a9b32b0ad75fa3d399fc1e16309.tar.gz chromium_src-889da7e472266a9b32b0ad75fa3d399fc1e16309.tar.bz2 |
linux: reenable symbols in backtraces in debug builds
This is easy enough to fix, and would be occasionally helpful.
Review URL: http://codereview.chromium.org/524015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35405 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi index 858ff62..09cf397 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -586,7 +586,6 @@ '<(werror)', # See note above about the werror variable. '-pthread', '-fno-exceptions', - '-fvisibility=hidden', '-Wall', '-D_FILE_OFFSET_BITS=64', ], @@ -698,6 +697,10 @@ # can be removed at link time with --gc-sections. '-fdata-sections', '-ffunction-sections', + # Don't export any symbols (for example, to plugins we dlopen()). + # This must be in Release builds only because otherwise we don't + # get backtraces. + '-fvisibility=hidden', # We don't use exceptions. The eh_frame section is used for those # and for symbolizing backtraces. By passing this flag we drop # the eh_frame section completely, we shaving off 2.5mb from |