Skip to content

Commit

Permalink
Do not add -g0 with "clang=1 asan=1".
Browse files Browse the repository at this point in the history
clang=1 adds -g0 which overrides -gline-tables-only added by asan=1.
This change removes -g0 if asan=1 or msan=1 or tsan=1.

BUG=358126

Review URL: https://codereview.chromium.org/219283002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260536 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
eugenis@chromium.org committed Mar 31, 2014
1 parent 8587391 commit 96a9070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -2364,7 +2364,7 @@
'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO',
},
'conditions': [
['clang==1', {
['clang==1 and asan==0 and msan==0 and tsan==0', {
# Clang creates chubby debug information, which makes linking very
# slow. For now, don't create debug information with clang. See
# http://crbug.com/70000
Expand Down

0 comments on commit 96a9070

Please sign in to comment.