summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorpcc <pcc@chromium.org>2015-08-11 18:02:28 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-12 01:03:02 +0000
commitc964309764aeedac75ce8bcd11d59dd1f827484a (patch)
treec01eeb4991958767f7995babcbeae1d1ec85928b /build
parent2fb060fe4212175b109088880c29c307e6e674c1 (diff)
downloadchromium_src-c964309764aeedac75ce8bcd11d59dd1f827484a.zip
chromium_src-c964309764aeedac75ce8bcd11d59dd1f827484a.tar.gz
chromium_src-c964309764aeedac75ce8bcd11d59dd1f827484a.tar.bz2
build: Enable flags for better stack traces in non-official CFI builds.
BUG=464797 R=inferno@chromium.org TBR=thakis@chromium.org Review URL: https://codereview.chromium.org/1289673002 Cr-Commit-Position: refs/heads/master@{#342952}
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi5
1 files changed, 3 insertions, 2 deletions
diff --git a/build/common.gypi b/build/common.gypi
index fbbc616..73dec1d 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -4383,8 +4383,9 @@
],
}],
# Common options for AddressSanitizer, LeakSanitizer,
- # ThreadSanitizer and MemorySanitizer.
- ['asan==1 or lsan==1 or tsan==1 or msan==1 or ubsan==1 or ubsan_vptr==1', {
+ # ThreadSanitizer, MemorySanitizer and non-official CFI builds.
+ ['asan==1 or lsan==1 or tsan==1 or msan==1 or ubsan==1 or ubsan_vptr==1 or '
+ '(cfi_vptr==1 and buildtype!="Official")', {
'target_conditions': [
['_toolset=="target"', {
'cflags': [