Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Disable ASan instrumentation for globals on Mac to work around issue …
Browse files Browse the repository at this point in the history
…352073

BUG=352073
[email protected]

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256799 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
[email protected] committed Mar 13, 2014
1 parent dd9e162 commit 22df2b2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build/common.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -3517,6 +3517,13 @@
],
}],
],
'conditions': [
['OS=="mac"', {
'cflags': [
'-mllvm -asan-globals=0', # http://crbug.com/352073
],
}],
],
}],
['lsan==1', {
'target_conditions': [
Expand Down Expand Up @@ -4182,6 +4189,7 @@
'xcode_settings': {
'OTHER_CFLAGS': [
'-fsanitize=address',
'-mllvm -asan-globals=0', # http://crbug.com/352073
'-w', # http://crbug.com/162783
],
},
Expand Down

0 comments on commit 22df2b2

Please sign in to comment.