diff options
author | glider <glider@chromium.org> | 2015-02-13 10:01:30 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-13 18:02:36 +0000 |
commit | ddea13be3be19fd889fb5953470faf154836e973 (patch) | |
tree | 07c95772a34c2fc4be76a5e7ade77da923548c22 /content/gpu | |
parent | 6a723d79c949f9ab359966c4e6d37139a096bdc0 (diff) | |
download | chromium_src-ddea13be3be19fd889fb5953470faf154836e973.zip chromium_src-ddea13be3be19fd889fb5953470faf154836e973.tar.gz chromium_src-ddea13be3be19fd889fb5953470faf154836e973.tar.bz2 |
Replace the asan_coverage GYP flag with sanitizer_coverage which is to be used with other sanitizers.
Introduce the SANITIZER_COVERAGE define.
BUG=444896
R=earthdok@chromium.org
TBR=jochen@chromium.org
Review URL: https://codereview.chromium.org/868893004
Cr-Commit-Position: refs/heads/master@{#316241}
Diffstat (limited to 'content/gpu')
-rw-r--r-- | content/gpu/gpu_main.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc index 061ed17..c91aac0 100644 --- a/content/gpu/gpu_main.cc +++ b/content/gpu/gpu_main.cc @@ -58,8 +58,8 @@ #include "content/common/sandbox_mac.h" #endif -#if defined(ADDRESS_SANITIZER) -#include <sanitizer/asan_interface.h> +#if defined(SANITIZER_COVERAGE) +#include <sanitizer/common_interface_defs.h> #endif const int kGpuTimeout = 10000; @@ -489,7 +489,7 @@ bool StartSandboxLinux(const gpu::GPUInfo& gpu_info, LinuxSandbox::StopThread(watchdog_thread); } -#if defined(ADDRESS_SANITIZER) +#if defined(SANITIZER_COVERAGE) const std::string sancov_file_name = "gpu." + base::Uint64ToString(base::RandUint64()); LinuxSandbox* linux_sandbox = LinuxSandbox::GetInstance(); |