Clean up the obsolete asan=1 config bits:
-- 10.5 isn't supported anymore, so we don't need to pass -Wl,-U for undefined symbols -- third_party/llvm-build is now used for ASan, so the Chromium clang plugins should be fully supported. TBR=thakis Review URL: https://chromiumcodereview.appspot.com/10908010 git-svn-id: http://src.chromium.org/svn/trunk/src/build@154128 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
930547cb54
Коммит
007b3643a2
17
common.gypi
17
common.gypi
|
@ -1199,11 +1199,6 @@
|
|||
|
||||
['asan==1', {
|
||||
'clang%': 1,
|
||||
# Do not use Chrome plugins for Clang. The Clang version in
|
||||
# third_party/asan may be different from the default one.
|
||||
# TODO(glider): this isn't true anymore, need to check if we can use the
|
||||
# plugins now.
|
||||
'clang_use_chrome_plugins%': 0,
|
||||
}],
|
||||
['asan==1 and OS=="mac"', {
|
||||
# See http://crbug.com/145503.
|
||||
|
@ -2914,18 +2909,6 @@
|
|||
'xcode_settings': {
|
||||
'OTHER_LDFLAGS': [
|
||||
'-faddress-sanitizer',
|
||||
# The symbols below are referenced in the ASan runtime
|
||||
# library (compiled on OS X 10.6), but may be unavailable
|
||||
# on the prior OS X versions. Because Chromium is
|
||||
# currently targeting 10.5.0, we need to explicitly mark
|
||||
# these symbols as dynamic_lookup.
|
||||
'-Wl,-U,_malloc_default_purgeable_zone',
|
||||
'-Wl,-U,_malloc_zone_memalign',
|
||||
'-Wl,-U,_dispatch_sync_f',
|
||||
'-Wl,-U,_dispatch_async_f',
|
||||
'-Wl,-U,_dispatch_barrier_async_f',
|
||||
'-Wl,-U,_dispatch_group_async_f',
|
||||
'-Wl,-U,_dispatch_after_f',
|
||||
],
|
||||
},
|
||||
}],
|
||||
|
|
Загрузка…
Ссылка в новой задаче