commit | ad25d87127f7f5288f9ac5b186a77266998ab8f1 | [log] [tgz] |
---|---|---|
author | Sigurdur Asgeirsson <[email protected]> | Wed Sep 20 19:10:29 2017 |
committer | Commit Bot <[email protected]> | Wed Sep 20 19:10:29 2017 |
tree | 09e582c846b0b575952e12baa88e233294873271 | |
parent | 226d0ee21ae9aabe879fed433dac64d94e5b39c1 [diff] [blame] |
Give kSyzyAsanDCheckIsFatalFeature unique linkage. This is exploding in CheckFeatureIdentity on second use of the constexpr, as presumably the Feature object is instantiated per call. Bug: 763010 Change-Id: I330690fcf052a66ed3287f3a3134866025803a01 Reviewed-on: https://chromium-review.googlesource.com/674096 Commit-Queue: Sigurður Ásgeirsson <[email protected]> Reviewed-by: Alexei Svitkine <[email protected]> Cr-Commit-Position: refs/heads/master@{#503224}
diff --git a/base/feature_list.cc b/base/feature_list.cc index 61ec57c..7d984f1 100644 --- a/base/feature_list.cc +++ b/base/feature_list.cc
@@ -76,6 +76,11 @@ } // namespace +#if DCHECK_IS_ON() && defined(SYZYASAN) +const Feature kSyzyAsanDCheckIsFatalFeature{"DcheckIsFatal", + base::FEATURE_DISABLED_BY_DEFAULT}; +#endif // defined(SYZYASAN) + FeatureList::FeatureList() {} FeatureList::~FeatureList() {}