Revert 166369 - Revert 166365 - roll clang 165787:167488

Seems like a clobber might be enough to fix the issues caused by this CL.

Reverted because it is assumed to be the cause for multiple compile failures on  mac and linux.

Fixes crash in arm codegen.
Doesn't warn on -Wno-arc-abi.
Nicer diagnostics for nested macro instantiations.
Includes asan support for android on linux (shout if you need that on mac).
Fixes issue with debug information in .S files.
Renames -faddress-sanitizer to -fsanitize=address (continue to use -faddress-sanitizer in chromium for now, until we've updated all third-party gyp files)

BUG=159712,159452,159475,159502,159598,59580
TBR=hans

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

TBR=thakis@chromium.org
Review URL: https://codereview.chromium.org/11377020

TBR=pastarmovj@google.com
Review URL: https://codereview.chromium.org/11377023

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166405 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
pastarmovj@google.com 2012-11-07 12:52:38 +00:00
Родитель 7eaafcbdc6
Коммит c1f966fa34
1 изменённых файлов: 8 добавлений и 0 удалений

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

@ -2592,6 +2592,8 @@
'cflags': [
'-faddress-sanitizer',
'-fno-omit-frame-pointer',
# See http://crbug.com/159580
'-w',
],
'ldflags': [
'-faddress-sanitizer',
@ -2610,6 +2612,8 @@
'-fno-omit-frame-pointer',
'-fPIE',
'-mllvm', '-tsan-blacklist=<(tsan_blacklist)'
# See http://crbug.com/159580
'-w',
],
'ldflags': [
'-fthread-sanitizer',
@ -3019,6 +3023,8 @@
# binaries on x86_64 host is problematic.
# TODO(eugenis): re-enable.
'-faddress-sanitizer',
# See http://crbug.com/159580
'-w',
],
'ldflags!': [
'-faddress-sanitizer',
@ -3138,6 +3144,8 @@
'xcode_settings': {
'OTHER_CFLAGS': [
'-faddress-sanitizer',
# See http://crbug.com/159580
'-w',
],
},
'defines': [