diff options
author | sebmarchand@chromium.org <sebmarchand@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-10 03:39:05 +0000 |
---|---|---|
committer | sebmarchand@chromium.org <sebmarchand@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-10 03:39:05 +0000 |
commit | 921295a801dc57151c7312957d746699b141685c (patch) | |
tree | 6df2ff2dc2c87e07f818179dc0d40757fe493da5 | |
parent | 8999c0a2bafcb5a0ce495a7e8fd6c15d043077d8 (diff) | |
download | chromium_src-921295a801dc57151c7312957d746699b141685c.zip chromium_src-921295a801dc57151c7312957d746699b141685c.tar.gz chromium_src-921295a801dc57151c7312957d746699b141685c.tar.bz2 |
Add the SyzyASan label to the version number for the SyzyASan builds.
BUG=
Review URL: https://chromiumcodereview.appspot.com/14876017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199360 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/common/chrome_version_info_win.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/common/chrome_version_info_win.cc b/chrome/common/chrome_version_info_win.cc index 5eda30e..c16cfc6 100644 --- a/chrome/common/chrome_version_info_win.cc +++ b/chrome/common/chrome_version_info_win.cc @@ -5,6 +5,7 @@ #include "chrome/common/chrome_version_info.h" #include "base/base_paths.h" +#include "base/debug/profiler.h" #include "base/files/file_path.h" #include "base/path_service.h" #include "base/string_util.h" @@ -28,6 +29,10 @@ std::string VersionInfo::GetVersionStringModifier() { #if defined(USE_AURA) channel += L" Aura"; #endif +#if defined(ADDRESS_SANITIZER) + if (base::debug::IsBinaryInstrumented()) + channel += L" SyzyASan"; +#endif return UTF16ToASCII(channel); #else return std::string(); |