Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3451)

Unified Diff: build/common.gypi

Issue 1840873002: Enable symbols with ASan (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try to write some gn Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/config/compiler/compiler.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 7c4e60ede1586920c38b67cd49788b3c20f8dbde..bed40b5f675ee87167f1d30dc9330a36c16aa920 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2458,13 +2458,12 @@
],
}],
- ['OS=="win" and clang==1', {
+ ['OS=="win" and clang==1 and asan==0', {
# TODO(thakis): Remove this again once building with clang/win and
# debug info doesn't make link.exe run for hours.
'fastbuild': 1,
}],
-
['host_clang==1', {
'host_cc': '<(make_clang_dir)/bin/clang',
'host_cxx': '<(make_clang_dir)/bin/clang++',
@@ -5926,6 +5925,8 @@
'AdditionalOptions': [
'-fsanitize=address',
'-fsanitize-blacklist=<(PRODUCT_DIR)/../../tools/memory/asan/blacklist_win.txt',
+ # Omit variable info to speed up /Z7 links.
+ '-gline-tables-only',
],
'AdditionalIncludeDirectories': [
# MSVC needs to be able to find the sanitizer headers when
« no previous file with comments | « no previous file | build/config/compiler/compiler.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698