Another shot at using the new asan flag

BUG=159580, 162783
TBR=glider

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

git-svn-id: http://src.chromium.org/svn/trunk/src/build@169750 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
thakis@chromium.org 2012-11-27 21:04:56 +00:00
Родитель e09108e943
Коммит 532dd62214
1 изменённых файлов: 7 добавлений и 10 удалений

Просмотреть файл

@ -2700,13 +2700,12 @@
'target_conditions': [
['_toolset=="target"', {
'cflags': [
'-faddress-sanitizer',
'-fsanitize=address',
'-fno-omit-frame-pointer',
# See http://crbug.com/159580
'-w',
'-w', # http://crbug.com/162783
],
'ldflags': [
'-faddress-sanitizer',
'-fsanitize=address',
],
'defines': [
'ADDRESS_SANITIZER',
@ -3164,9 +3163,8 @@
# Due to issues in Clang build system, using ASan on 32-bit
# binaries on x86_64 host is problematic.
# TODO(eugenis): re-enable.
'-faddress-sanitizer',
# See http://crbug.com/159580
'-w',
'-fsanitize=address',
'-w', # http://crbug.com/162783
],
'ldflags!': [
'-faddress-sanitizer',
@ -3287,9 +3285,8 @@
['asan==1', {
'xcode_settings': {
'OTHER_CFLAGS': [
'-faddress-sanitizer',
# See http://crbug.com/159580
'-w',
'-fsanitize=address',
'-w', # http://crbug.com/162783
],
},
'defines': [